Skip to content

ci: make the merge queue the only path to main - #97

Merged
arminazimi merged 2 commits into
mainfrom
chore/54-merge-queue-only-path
Nov 14, 2026
Merged

arminazimi merged 2 commits into
mainfrom
chore/54-merge-queue-only-path

Conversation

@arminazimi

@arminazimi arminazimi commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Closes #54

What changed

  • Turned on the repository ruleset for main: require pull request, ci-ok, and the merge queue (squash, no bypass actors).
  • Documented in MAINTAINERS.md that there is no release-bot exception — release workflows push to release/<tag> and badges, not main.
  • Updated CI/contributor/governance docs and a short ci.yml header so they describe the queue as the only landing path.

Workflow changes

  • Reason: Comment-only note on ci.yml that the ruleset requires merge_group / ci-ok; no job, matrix, or trigger change.
  • Budget effect: none

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

  • Tests added or updated for changed behavior — N/A (ruleset + docs; merge_group already covered by existing CI tests)
  • Changelog fragment — N/A (ci/docs/chore)

Verification

  • npm ci
  • npm run check
  • gh api repos/velella-sh/offing/rulesets/27272971 — enforcement active; rules pull_request, required_status_checks (ci-ok), merge_queue, deletion, non_fast_forward; bypass_actors empty

Notes for reviewers

  • The ruleset is already live on the repository (id 27272971). This PR lands through the queue and is itself the first proof that every commit on main comes through it going forward.
  • Classic branch protection with ci-ok remains; the ruleset is what closes direct pushes (including for admins) and requires the queue.

arminazimi and others added 2 commits November 14, 2026 21:54
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>
@arminazimi
arminazimi added this pull request to the merge queue Nov 14, 2026
Merged via the queue into main with commit c1457bf Nov 14, 2026
19 checks passed
@arminazimi
arminazimi deleted the chore/54-merge-queue-only-path branch November 15, 2026 18:15
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.

Make the merge queue the only path to main

1 participant