Skip to content

Commit 02874a0

Browse files
committed
Fix release workflow permissions
- Add contents: write permission for release creation - Add actions: read permission for workflow access - Resolves 403 error when creating GitHub releases
1 parent 3bb62c2 commit 02874a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ jobs:
7373
runs-on: ubuntu-latest
7474
needs: build
7575
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
76+
permissions:
77+
contents: write
78+
actions: read
7679

7780
steps:
7881
- name: Checkout repository

0 commit comments

Comments
 (0)