Commit 07002fc
committed
fix: add contents:write permission for GitHub Releases
The GITHUB_TOKEN needs explicit 'contents: write' permission
to create releases. This fixes the 403 Forbidden error.
Changes:
- Add permissions block to publish-pypi workflow
- Grant contents:write for release creation
- Add id-token:write for trusted publishing (optional)1 parent 2c0e3fb commit 07002fc
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
0 commit comments