Skip to content

Commit

Permalink
BUILD-5219 Update credcheck.yml workflow accordingly
Browse files Browse the repository at this point in the history
That way it also use Hashicorp Vault secrets
  • Loading branch information
sebastienvermeille committed Jun 4, 2024
1 parent a0de38a commit bdeb830
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/credcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ jobs:
with:
secrets: |
development/artifactory/token/{REPO_OWNER_NAME_DASH}-private-reader access_token | ARTIFACTORY_ACCESS_TOKEN;
development/kv/data/visualstudio VSCE_TOKEN | VISUALSTUDIO_PAT;
development/team/sonarlint/kv/data/openvsx token | OPENVSX_TOKEN;
- name: Check marketplace publisher personal access token
if: ${{ !cancelled() }}
env:
ARTIFACTORY_ACCESS_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).ARTIFACTORY_ACCESS_TOKEN }}
VSCE_TOKEN: ${{ secrets.VISUALSTUDIO_PAT }}
VSCE_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).VISUALSTUDIO_PAT }}
working-directory: ./.github/actions/vsce-publish
run: |
cp ${GITHUB_WORKSPACE}/.cirrus/.npmrc ./.npmrc
Expand All @@ -43,7 +45,7 @@ jobs:
if: ${{ !cancelled() }}
env:
ARTIFACTORY_ACCESS_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).ARTIFACTORY_ACCESS_TOKEN }}
OPENVSX_TOKEN: ${{ secrets.OPENVSX_TOKEN }}
OPENVSX_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).OPENVSX_TOKEN }}
working-directory: ./.github/actions/ovsx-publish
run: |
cp ${GITHUB_WORKSPACE}/.cirrus/.npmrc ./.npmrc
Expand Down

0 comments on commit bdeb830

Please sign in to comment.