Skip to content

Commit 9a205d8

Browse files
pvcravenPaul V Cravenclaude
authored
Give the release workflow permission to create GitHub releases (#2916)
The release workflow's "Publish GitHub Release" step (ncipollo/release-action) creates a GitHub release with the generated notes, which needs contents: write. The job only had contents: read, so the step failed with "Error 403: Resource not accessible by integration" on every release since 4.0.0.dev5. The earlier steps, including publishing to PyPI, succeeded each time. Co-authored-by: Paul V Craven <paul.craven@optimizley.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent b391f74 commit 9a205d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: release
1313
permissions:
1414
id-token: write
15-
contents: read
15+
contents: write
1616
steps:
1717
- uses: actions/checkout@v5
1818
with:

0 commit comments

Comments
 (0)