Repository navigation
ci: push the release bump as the release-bot App - #598
Merged
Merged
Conversation
actions/checkout persists GITHUB_TOKEN as an http extraheader, and git sends that header instead of the x-access-token credentials in the push URL. The bump commit therefore went out as github-actions[bot], which is not a ruleset bypass actor, and main rejected it with GH013 (v1.9.0 after #597). The ruleset itself is right: Integration 3967952 is a bypass actor. Reset the header for the bump push only; the tag push keeps GITHUB_TOKEN so it still does not trigger publish.yml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying synthpanel with
|
| Latest commit: |
3c9a6fe
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f05b43b6.synthpanel.pages.dev |
| Branch Preview URL: | https://ci-release-bot-push-auth.synthpanel.pages.dev |
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.
Auto Semver Tag failed after #597 merged. The v1.9.0 bump commit was rejected on main with GH013 (run), so v1.9.0 was never tagged, released or published.
Cause: the ruleset is fine. Integration 3967952, the release-bot App, is a bypass actor on
main branch protection. Butactions/checkoutpersistsGITHUB_TOKENas anhttp.https://github.com/.extraheaderAuthorization header, and git sends that header in place of thex-access-token:<app token>credentials in the push URL. So the push went out as github-actions[bot].Fix:
git -c http.https://github.com/.extraheader= push ...for the bump push only. Git treats an emptyhttp.extraHeadervalue as "reset the list". The tag push still usesGITHUB_TOKENon purpose: a tag pushed with the default token doesn't triggerpublish.yml, which is dispatched explicitly.Why
semver:minor: the latest tag is still v1.8.0. Merging this withsemver:minorreleases v1.9.0, which includes #597 (--model auto). A patch label would ship those features as v1.8.1.🤖 Generated with Claude Code