Repository navigation
Conversation
xinredhat
marked this pull request as draft
November 12, 2026 13:26
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.
Summary
Replace the MintMaker-only native-auto-merge enabler with guarded squash merging for PRs from any author and any base branch. This does not require admin-configured branch checks or GitHub's native auto-merge setting.
Merge policy
The workflow requires all of the following:
/approveand/lgtm.The CI policy is deliberately strict: skipped and neutral results block, as do failures, cancellations, and pending results. Conditional CI that reports skipped must complete successfully before this workflow can merge that PR.
Implementation
actions/checkoutandactions/github-scriptactions. Checkout is restricted to automation from the trusted default branch, with credentials not persisted. No PR code or artifacts are executed.workflow_runtrigger.Validation
pytest hack/e2e: 208 passed after syncing the branch with current upstream main.git diff --checkpassed.Rollout and limits
Install the workflows and guard together by merging this PR into the default branch after review. This PR remains draft; no repository settings have been changed and no PRs have been merged by this work.
Head-SHA protection is atomic. Labels, reviews, base changes, and CI publication cannot be checked atomically with merging through this API. Without enforced server-side rules or an expected CI inventory, no metadata-only workflow can prove that a future, not-yet-reported check will not appear. This workflow controls only its own merges, not manual merges or another bot's existing auto-merge policy.