From c23855d7ce9a5f482a777db16868309e282570b1 Mon Sep 17 00:00:00 2001 From: Alex Kroman Date: Wed, 1 Jul 2026 13:41:19 -0400 Subject: [PATCH] ci(check): run on merge_group so the merge queue can gate PRs 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) --- .github/workflows/check.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7a657063..592290ac 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -5,6 +5,10 @@ on: branches: [main] push: branches: [main] + # Required for the merge queue: GitHub builds each queued PR as a temporary + # gh-readonly-queue/ candidate and fires merge_group; the required `check` + # status must run there or queued PRs never merge. + merge_group: concurrency: group: check-${{ github.ref }}