Fix internal-release infinite loop on main ([skip ci] on version-bump commit) - #378
Merged
Merged
Conversation
…ion-bump commit Same fix as #377 (applied to v3-release/26.7.29), now on main so future release branches cut from main don't reintroduce the loop. The internal-release path bumps the version and force-pushes an automated commit back to the branch using an admin PAT. PAT-authored pushes DO trigger workflows (unlike GITHUB_TOKEN), so the bump re-triggers the release -> bump -> push -> infinite loop. Appending [skip ci] to the automated commit message breaks it while keeping the PAT (preserving the branch-protection bypass fix). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Problem
The
internalrelease path inshared-build-and-deploy.ymlbumps the version and force-pushes an automated[AUTOMATED] Private Release …-dev-<sha>commit back to the branch using an admin PAT. GitHub does not trigger workflows forGITHUB_TOKENpushes, but does for PAT-authored pushes — so each bump re-triggers the internal-release workflow → bump → push → infinite loop.This is the same defect fixed on
v3-release/26.7.29in #377. Putting it onmainensures future release branches cut frommaindon't reintroduce the loop.Fix
Append
[skip ci]to the automated internal-release commit message so the bump push no longer re-triggers CI. The PAT stays (branch-protection bypass preserved); only the loop is broken.Scope
Only the
internalpath (the confirmed loop). Beta/public paths are tag/release-triggered, not branch-push, so they don't loop the same way.🤖 Generated with Claude Code