Skip to content

Commit eb3ee9c

Browse files
fix: generate provenance statement for release (#168)
1 parent df1924e commit eb3ee9c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release-please.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
branches:
44
- main
55
name: release-please
6+
7+
permissions:
8+
id-token: write # to enable use of OIDC for npm provenance
9+
610
jobs:
711
release-please:
812
runs-on: ubuntu-latest
@@ -24,7 +28,7 @@ jobs:
2428
if: ${{ steps.release.outputs.release_created }}
2529
- run: npm ci
2630
if: ${{ steps.release.outputs.release_created }}
27-
- run: npm publish
31+
- run: npm publish --provenance
2832
env:
2933
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3034
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)