Skip to content

Commit

Permalink
chore: generate provenance statements on release (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Oct 16, 2024
1 parent 1e994d1 commit ca6564b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ concurrency:

permissions:
actions: write
contents: write
issues: write
pull-requests: write
contents: write # to be able to publish a GitHub release
id-token: write # to enable use of OIDC for npm provenance
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests

defaults:
run:
Expand Down Expand Up @@ -67,4 +68,5 @@ jobs:
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit ca6564b

Please sign in to comment.