Skip to content

Commit 7be56a7

Browse files
Add contents:write permission for release job
Fix 403 error when creating GitHub releases. The softprops/action-gh-release action requires write permission to contents to create tags and releases. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 60820da commit 7be56a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ jobs:
242242
needs: [validate, check-release-needed]
243243
if: needs.check-release-needed.outputs.should_release == 'true'
244244
runs-on: ubuntu-latest
245+
permissions:
246+
contents: write
245247

246248
steps:
247249
- name: Checkout

0 commit comments

Comments
 (0)