Skip to content

Commit 8377a00

Browse files
committed
chore(publish): update permissions to allow write access and add token for checkout step in workflow
1 parent c3f537a commit 8377a00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ jobs:
1717
publish:
1818
runs-on: ubuntu-latest
1919
permissions:
20-
contents: read
20+
contents: write
2121
id-token: write
2222

2323
steps:
2424
- name: Checkout
2525
uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0
28+
token: ${{ secrets.GITHUB_TOKEN }}
2829

2930
- name: Setup Node.js
3031
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)