Repository navigation
ci: make the merge queue the only path to main - #97
Merged
Merged
Conversation
Document the active main ruleset (ci-ok, no direct pushes, no release-bot bypass) so every landing commit goes through merge_group. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.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.
Closes #54
What changed
main: require pull request,ci-ok, and the merge queue (squash, no bypass actors).MAINTAINERS.mdthat there is no release-bot exception — release workflows push torelease/<tag>andbadges, notmain.ci.ymlheader so they describe the queue as the only landing path.Workflow changes
ci.ymlthat the ruleset requiresmerge_group/ci-ok; no job, matrix, or trigger change.Quality bar
Read docs/QUALITY.md before you change code, data, or docs. CI enforces its nine criteria: add no new debt, and allowlist existing debt only with an expiry.
Checks CI cannot make
merge_groupalready covered by existing CI tests)Verification
npm cinpm run checkgh api repos/velella-sh/offing/rulesets/27272971— enforcementactive; rulespull_request,required_status_checks(ci-ok),merge_queue,deletion,non_fast_forward;bypass_actorsemptyNotes for reviewers
27272971). This PR lands through the queue and is itself the first proof that every commit onmaincomes through it going forward.ci-okremains; the ruleset is what closes direct pushes (including for admins) and requires the queue.