Skip to content

Commit

Permalink
ci: correct github token configuration (#1404)
Browse files Browse the repository at this point in the history
Signed-off-by: Adrien Mannocci <[email protected]>
  • Loading branch information
amannocci authored Jul 31, 2023
1 parent 174beda commit 3811109
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,16 @@ jobs:
- name: Configure git user
uses: elastic/apm-pipeline-library/.github/actions/setup-git@current

- name: Configure github token
uses: elastic/apm-pipeline-library/.github/actions/github-token@current
with:
url: ${{ secrets.VAULT_ADDR }}
roleId: ${{ secrets.VAULT_ROLE_ID }}
secretId: ${{ secrets.VAULT_SECRET_ID }}

- name: Publish the release
env:
DRY_RUN: ${{ inputs.dry-run }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run ci:release

- name: Setup credentials
Expand Down

0 comments on commit 3811109

Please sign in to comment.