Skip to content

ci: allow release workflow to create GitHub releases - #156

Merged
JimmyPettersson85 merged 1 commit into
mainfrom
ci/release-contents-write
Dec 2, 2026
Merged

JimmyPettersson85 merged 1 commit into
mainfrom
ci/release-contents-write

Conversation

@JimmyPettersson85

Copy link
Copy Markdown
Collaborator

Summary

The release workflow's last step creates the GitHub release and tag with ncipollo/release-action, using GITHUB_TOKEN. The workflow-level permissions set contents: read, so that step fails with 403: Resource not accessible by integration.

This broke the release on 2026-12-02: the release PR merged, but no release or tag was created, and the release and tag had to be created by hand. For this repo the tag is what publishes the version (or, for PyPI, the last step after the upload).

This PR changes contents: read to contents: write in release.yml only, matching stream-ruby and stream-net, whose release workflows succeeded. pull-requests: read stays the same.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JimmyPettersson85
JimmyPettersson85 merged commit d6d445c into main Dec 2, 2026
5 of 10 checks passed
@JimmyPettersson85
JimmyPettersson85 deleted the ci/release-contents-write branch December 2, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant