From 3a955c4b43f5ce0ab6209b1bf19a89a5fd1be2f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isaac=20Rold=C3=A1n?= Date: Wed, 29 Apr 2026 11:40:32 +0200 Subject: [PATCH] Fix tests-pr workflow skipping in merge queue The `head.repo.full_name == github.repository` guard evaluates to false in `merge_group` events, since `github.event.pull_request` is null there. Allow non-PR events through and only gate fork PRs. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/tests-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests-pr.yml b/.github/workflows/tests-pr.yml index 0a22e920304..31a52aa734c 100644 --- a/.github/workflows/tests-pr.yml +++ b/.github/workflows/tests-pr.yml @@ -217,7 +217,7 @@ jobs: e2e-tests: name: "E2E tests (shard ${{ matrix.shard }})" - if: github.event.pull_request.head.repo.full_name == github.repository + if: github.event_name == 'merge_group' || github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest timeout-minutes: 20 continue-on-error: true