Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7c15986

Browse files
committedNov 22, 2024
switch to secrets.GITHUB_TOKEN
1 parent cea78ee commit 7c15986

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
workflow_dispatch:
1616

1717
permissions:
18-
contents: read
18+
contents: write
1919

2020
jobs:
2121
deploy:
@@ -44,7 +44,7 @@ jobs:
4444
- name: Upload Release Asset
4545
uses: xresloader/upload-to-github-release@v1
4646
env:
47-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848
with:
4949
file: "dist/*"
5050
update_latest_release: true

0 commit comments

Comments
 (0)