Skip to content

ci(check): run on merge_group so the merge queue can gate PRs - #10

Merged
alexkroman merged 1 commit into
mainfrom
ci/merge-queue-trigger
Jul 1, 2026
Merged

alexkroman merged 1 commit into
mainfrom
ci/merge-queue-trigger

Conversation

@alexkroman

Copy link
Copy Markdown
Collaborator

Adds a merge_group: trigger to check.yml — required for the merge queue that was just enabled on main.

The merge queue builds each queued PR as a temporary gh-readonly-queue/… candidate and fires a merge_group event. The required check status must run on that candidate, or queued PRs sit until they time out. Without this trigger the queue is non-functional.

The changes gate sees merge_group as an unknown base and runs the full check (exactly what we want in the queue — no docs-only skip inside the queue). actionlint passes.

⚠️ Bootstrap ordering

The merge queue is already active, so this PR (and #8/#9) will route through it — but the queue can't pass them until this trigger is on main (chicken-and-egg). To land it, either:

  • temporarily set the merge-queue-main ruleset enforcement to evaluate, merge this PR (and the others) normally, then flip back to active; or
  • admin-merge this one PR.

I can flip the ruleset to evaluate/back if you'd like.

🤖 Generated with Claude Code

The merge queue builds each PR as a temporary gh-readonly-queue/ candidate
and fires a merge_group event; the required `check` status must run on that
candidate or queued PRs never merge. Add the merge_group trigger. The
`changes` gate treats merge_group as an unknown base and runs the full check,
which is what we want in the queue.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@alexkroman
alexkroman enabled auto-merge July 1, 2026 17:43
@alexkroman
alexkroman added this pull request to the merge queue Jul 1, 2026
@alexkroman
alexkroman removed this pull request from the merge queue due to the queue being cleared Jul 1, 2026
@alexkroman
alexkroman added this pull request to the merge queue Jul 1, 2026
Merged via the queue into main with commit 7bffba9 Jul 1, 2026
6 checks passed
@alexkroman
alexkroman deleted the ci/merge-queue-trigger branch July 1, 2026 18:06
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.

2 participants