Skip to content

Rulesets: merge queue in a repository ruleset; urgent changes - #6

Merged
georgeh0 merged 1 commit into
mainfrom
rulesets-repo-merge-queue
Oct 22, 2026
Merged

georgeh0 merged 1 commit into
mainfrom
rulesets-repo-merge-queue

Conversation

@georgeh0

Copy link
Copy Markdown
Member

Summary

  • GitHub organization rulesets reject a merge_queue rule: creating ci-merge-queue failed with a 422, and the REST request schema lists no such type. The organization ruleset keeps the required ci-gate check and the ci-conformance workflow; a new merge-queue repository ruleset carries the queue, and apply_rulesets.py puts it on every repository whose ci-tier is merge-queue.
  • CI.md: the two rulesets and the opt-in step, and an Urgent changes section: jump the queue; bypass only in an incident where CI itself is broken, logged as a deviation.

Test plan

  • New unit test for the opt-in selection; self-test.yml.
  • apply_rulesets.py --check against the organization: property up to date, organization ruleset missing, no repository opted in.
  • Probe rulesets (disabled, targeting no repository, deleted right after) showed that organization rulesets accept required_status_checks and workflows but not merge_queue.

🤖 Generated with Claude Code

GitHub's organization rulesets reject a merge_queue rule (422 on create;
the REST request schema lists no merge_queue type), so applying
ci-merge-queue failed. The organization ruleset keeps the required ci-gate
check and the ci-conformance workflow, and a `merge-queue` repository
ruleset carries the queue. apply_rulesets.py puts it on every repository
whose ci-tier is merge-queue; rulesets/ splits into org/ and repo/.

CI.md: the two rulesets and the opt-in step, and a section on urgent
changes: jump the queue; bypass only in an incident where CI itself is
broken, logged as a deviation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@georgeh0
georgeh0 merged commit c132866 into main Oct 22, 2026
2 checks passed
@georgeh0
georgeh0 deleted the rulesets-repo-merge-queue branch October 22, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant