Skip to content

Commit f401a9b

Browse files
authored
configure trusted publishing (#1529)
via OIDC instead of long lived npm tokens
1 parent 1c04f75 commit f401a9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
pull-requests: write
1818
# Write permission is required so that it can push to github registry
1919
packages: write
20+
# required for OIDC
21+
id-token: write
2022

2123
name: Release
2224
runs-on: ubuntu-latest
@@ -51,4 +53,3 @@ jobs:
5153
publish: pnpm ci:publish
5254
env:
5355
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)