Skip to content

Commit

Permalink
ci: Give the workflow access to the ID token
Browse files Browse the repository at this point in the history
This commit configures the GitHub workflow to have access to the ID
token required to generate npm provenance.

https://docs.npmjs.com/generating-provenance-statements#publishing-packages-with-provenance-via-github-actions
  • Loading branch information
rpf3 committed May 1, 2024
1 parent a1484cc commit 7235601
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Create bot access token
id: app-token
Expand Down

0 comments on commit 7235601

Please sign in to comment.