Repository navigation
Conversation
This branch has not been deployed
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.
🔴 Review tier: HIGH — human review required
Releasestep from.github/workflows/bump.ymlmain, so this change is only exercised by the first merge after itWhy
The
Bump versionjob has failed on every push tomainsince at least 5 November, including merges that did release. The failing step isRelease(softprops/action-gh-release). For example:NO_COMMITS_TO_BUMP, but the step ran anyway and tried to update the existing 0.16.2 release.Both runs fail with
Resource not accessible by integration. The step setsGITHUB_TOKENas an env var, but the action reads itstokeninput. That input defaults to the workflow token, which is read-only becausebump.ymlhas nopermissions:block (the job log showsContents: read).Releases still go out despite this. Commitizen pushes the tag with
PERSONAL_ACCESS_TOKEN, which triggersrelease.yml. That workflow hascontents: write, publishes to PyPI and then creates the GitHub release with generated notes. The step inbump.ymlduplicates that and never succeeds.What changed
Releasestep frombump.yml.changelog_increment_filename: body.md, which only that step read.After this,
bump.ymlbumps the version, updatesCHANGELOG.mdand pushes the tag.release.ymlis the only workflow that publishes to PyPI and creates the GitHub release, and it is unchanged.Relation to #105 and #106
#105 and #106 (2 September) attempted the same fix. They switched the workflow to the built-in token and added a PyPI publish to
bump.yml, then removed it again.mainwas force-pushed back to4d3c1eeclater that day, so neither change is onmain. This PR changes no tokens and does not touch PyPI publishing.Blast radius
GitHub release pages no longer carry the Commitizen changelog increment as their body. They already did not, because the step never succeeded, so the pages show the generated notes from
release.yml.CHANGELOG.mdis unaffected. A plain revert restores the old step.This is a
ci:commit, so merging it does not bump the version or publish a release.Verification
Check outandCreate bump and changelog.body.md.main. The next merge should show a greenBump versionjob.🤖 Generated with Claude Code