Skip to content

Commit

Permalink
fix: generate provenance statements on release (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Oct 25, 2024
1 parent c993b63 commit 60c28f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
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

jobs:
lint:
name: ⬣ Lint
Expand Down Expand Up @@ -126,4 +132,5 @@ jobs:
]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 60c28f9

Please sign in to comment.