Skip to content

Commit

Permalink
BUILD-5219 Use Hashicorp Vault to retrieve OPENVSX_TOKEN
Browse files Browse the repository at this point in the history
That way it retrieves an up-to-date secret
  • Loading branch information
sebastienvermeille committed Jun 4, 2024
1 parent a79b4b3 commit fe36eea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
with:
secrets: |
development/artifactory/token/{REPO_OWNER_NAME_DASH}-private-reader access_token | ARTIFACTORY_ACCESS_TOKEN;
development/team/sonarlint/kv/data/open_vsx token | OPENVSX_TOKEN;
- name: Install dependencies for ovsx-publish
run: |
cp ${GITHUB_WORKSPACE}/.cirrus/.npmrc ./.npmrc
Expand Down Expand Up @@ -155,5 +156,5 @@ jobs:
id: ovsx_publish
env:
ARTIFACT_FILE: ${{ steps.download_artifact.outputs.artifactFile }}
OPENVSX_TOKEN: ${{ secrets.OPENVSX_TOKEN }}
OPENVSX_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).OPENVSX_TOKEN }}
uses: ./.github/actions/ovsx-publish

0 comments on commit fe36eea

Please sign in to comment.