Skip to content

Commit 522acb8

Browse files
fix: generate provenance statements on release (#205)
1 parent 45bac7d commit 522acb8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ concurrency:
1717
group: ${{ github.workflow }}-${{ github.ref }}
1818
cancel-in-progress: true
1919

20+
permissions:
21+
contents: write # to be able to publish a GitHub release
22+
id-token: write # to enable use of OIDC for npm provenance
23+
issues: write # to be able to comment on released issues
24+
pull-requests: write # to be able to comment on released pull requests
25+
2026
jobs:
2127
lint:
2228
name: ⬣ Lint (ESLint@${{ matrix.eslint }})
@@ -128,4 +134,5 @@ jobs:
128134
]
129135
env:
130136
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
137+
NPM_CONFIG_PROVENANCE: true
131138
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)