Skip to content

Commit ecc30af

Browse files
committed
oops, need to set 'permissions' key one level up in the github yml
1 parent b3ae709 commit ecc30af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ jobs:
6060
needs:
6161
- lint
6262
- test
63+
# This is required to create a release using Github integration token
64+
# https://github.com/softprops/action-gh-release?tab=readme-ov-file#permissions
65+
permissions:
66+
contents: write
6367
runs-on: ubuntu-latest
6468
steps:
6569
- uses: actions/checkout@v4
@@ -114,10 +118,6 @@ jobs:
114118
run: ./build_pyz.sh
115119
- name: Create GitHub release
116120
id: create_release
117-
# This is required to create a release using Github integration token
118-
# https://github.com/softprops/action-gh-release?tab=readme-ov-file#permissions
119-
permissions:
120-
contents: write
121121
uses: ncipollo/release-action@v1
122122
with:
123123
bodyFile: "${{ runner.temp }}/release_notes.md"

0 commit comments

Comments
 (0)