Skip to content

Commit

Permalink
chore: generate provenance statements on release (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Oct 16, 2024
1 parent 05426fe commit 8d8e188
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
name: release
on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

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

jobs:
validate:
name: 🔍 Validate
Expand Down Expand Up @@ -62,4 +69,5 @@ jobs:
]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 8d8e188

Please sign in to comment.