Skip to content

Commit bf57d6b

Browse files
Add write permissions for github release upload
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent 213a7b2 commit bf57d6b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/pypi-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444

4545

4646
create-gh-release:
47+
# Sets permissions of the GITHUB_TOKEN to allow release upload
48+
permissions:
49+
contents: write
4750
name: Create GH release
4851
needs:
4952
- build-pypi-distribs

0 commit comments

Comments
 (0)