Repository navigation
fix(release): grant contents: write to PyPI and npm release jobs - #7
Merged
Merged
Conversation
The Create GitHub Release step in both jobs failed with 403 because the job-level permissions were contents: read, so py-* and node-* tags never got GitHub releases even though the packages published. Claude-Session: https://claude.ai/code/session_01XypsfKDtYZSmN3FFv6z5tN
benfrank241
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
Create GitHub Releasestep in the PyPI and npm jobs fails with 403 because those jobs setcontents: read. The packages still publish (py-0.2.0 and node-0.2.0 are live on PyPI and npm), but the runs go red and nopy-*/node-*tag has ever had a GitHub release. This setscontents: writeon both jobs, matching what the CLI release job effectively has.https://claude.ai/code/session_01XypsfKDtYZSmN3FFv6z5tN