Skip to content

Commit fb5140d

Browse files
ci: add id-token write permission for provenance
Provenance generation in GitHub Actions requires `write` access to the `id-token` permission.
1 parent fd5d5cf commit fb5140d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
publish-npm:
2929
name: Publish the package to the npm registry
3030
environment: publish
31+
permissions:
32+
id-token: write
3133
runs-on: ubuntu-latest
3234
needs: [build-package]
3335
steps:

0 commit comments

Comments
 (0)