Commit 117328a
Grant contents: write to release job so gh-release can publish
The softprops/action-gh-release@v2 action needs write access to the
repo's contents to create a release via the REST API. Since GitHub
tightened the default GITHUB_TOKEN permissions in 2023, the token now
arrives at each job with contents: read only. Scope contents: write to
the release job; build-and-test keeps default read-only permissions.
Fixes the 403 "Resource not accessible by integration" error that
blocked the v1.0.0 release workflow.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4a5ac54 commit 117328a
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
55 | 64 | | |
56 | 65 | | |
57 | 66 | | |
| |||
0 commit comments