From d9f69a8fd5b94327d748ed1c29aa283753fbb0e8 Mon Sep 17 00:00:00 2001 From: rabbitblood Date: Fri, 24 Apr 2026 00:19:38 -0700 Subject: [PATCH] ci: add merge_group trigger to block-internal-paths workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Re-do of the fix that was originally bundled into PR #1995 but never landed — the second commit on that branch got rejected by GH006 (branch locked by merge queue) after the first commit was already queued. Only the file-removal commit made it to staging. Without this trigger, adding "Block forbidden paths" to required_status_checks deadlocks the queue: every PR sits in AWAITING_CHECKS forever waiting on a check that can't fire on gh-readonly-queue/* refs. Sequence to land safely: 1. (already done) Removed "Block forbidden paths" from required_status_checks 2. (this PR) Add merge_group trigger 3. (after merge) Re-add "Block forbidden paths" to required_status_checks Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/block-internal-paths.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/block-internal-paths.yml b/.github/workflows/block-internal-paths.yml index da4679b2..bdf200db 100644 --- a/.github/workflows/block-internal-paths.yml +++ b/.github/workflows/block-internal-paths.yml @@ -15,6 +15,11 @@ on: types: [opened, synchronize, reopened] push: branches: [main, staging] + # Required for GitHub merge queue: the queue's pre-merge CI run on + # `gh-readonly-queue/...` refs needs this check to fire so the queue + # gets a real result instead of stalling forever AWAITING_CHECKS. + merge_group: + types: [checks_requested] jobs: check: