Skip to content

Commit 9c712dd

Browse files
authored
Update publish.yml
1 parent 2436dab commit 9c712dd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ on:
1818
jobs:
1919
release:
2020
runs-on: ubuntu-latest
21+
permissions:
22+
contents: write
2123
env:
2224
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2325
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
@@ -26,7 +28,7 @@ jobs:
2628
- uses: actions/checkout@v4
2729
with:
2830
fetch-depth: 0
29-
token: ${{ secrets.GH_TOKEN }}
31+
token: ${{ secrets.GITHUB_TOKEN }}
3032

3133
- name: Set up Node.js
3234
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)