Skip to content

Commit

Permalink
fix: generate provenance statements on release (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Oct 25, 2024
1 parent 8b5eb9e commit 25af7a7
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 @@ -94,4 +100,5 @@ jobs:
]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 25af7a7

Please sign in to comment.