fix: route version-bump commit through PR to satisfy branch protection#9
Merged
Conversation
Main requires PRs and the drift-check status check; the previous direct push to main was rejected by the repository ruleset. The release workflow now creates a chore/release-vX.Y.Z branch, opens a PR, polls for the drift check to pass, merges, then re-syncs git state before tagging. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: fOuttaMyPaint <TMhospitalitystrategies@gmail.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.
Root cause
The release workflow was trying to push directly to main with
git push origin main, which the repository ruleset rejectsbecause all changes must go through a pull request and the
Ecosystem drift check status is required.
The bypass-actor API also rejected adding github-actions[bot]
because it requires an organization context (personal repo).
Fix
The version-bump step now:
chore/release-vX.Y.ZNo behaviour change for the tag and release creation steps.