Skip to content

Commit

Permalink
chore: generate provenance statements on release
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored and ota-meshi committed Oct 25, 2024
1 parent a3dd59e commit 3d3c5b3
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 3d3c5b3

Please sign in to comment.