Skip to content

Commit 28fa818

Browse files
committed
[ci skip] chore: fix publish.yml
1 parent ba692ab commit 28fa818

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
permissions:
88
id-token: write # Required for OIDC
9-
contents: read
9+
contents: write
1010

1111
jobs:
1212
publish-npm:
@@ -24,3 +24,5 @@ jobs:
2424
- run: pnpm release
2525
env:
2626
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
27+
GITHUB_TOKEN: ${{ secrets.PAT }}
28+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)