Skip to content

Commit e802917

Browse files
matthprostphilibea
andauthored
ci(npm): add provenance configuration (#1289)
Co-authored-by: philibeaux <[email protected]>
1 parent ed14efd commit e802917

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
release:
1111
name: Release
1212
runs-on: ubuntu-latest
13+
permissions: write-all
1314
steps:
1415
- uses: actions/[email protected]
1516
- name: Git Identity
@@ -18,7 +19,7 @@ jobs:
1819
git config --global user.email '[email protected]'
1920
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY
2021
env:
21-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2223
- uses: pnpm/[email protected]
2324
- name: Use Node.js
2425
uses: actions/[email protected]
@@ -36,3 +37,4 @@ jobs:
3637
env:
3738
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3839
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
40+
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)