Skip to content

Commit 97b09d7

Browse files
committed
Fix release creation: Add contents:write permission for create-release job
1 parent cac7fbd commit 97b09d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ jobs:
207207
needs: [build-windows, build-linux, build-macos, build-pypi]
208208
runs-on: ubuntu-latest
209209
if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || github.event_name == 'workflow_dispatch'
210+
permissions:
211+
contents: write
210212
steps:
211213
- name: Checkout code
212214
uses: actions/checkout@v4

0 commit comments

Comments
 (0)