From d9f1622ec1d9a0b85320ed15fcdbcb01eac5f267 Mon Sep 17 00:00:00 2001 From: Austin Date: Sat, 1 Aug 2026 13:18:35 -0400 Subject: [PATCH] Update ci-gate condition to check event types and cancellation status (#11329) --- .github/workflows/main_matrix.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main_matrix.yml b/.github/workflows/main_matrix.yml index f02887eb4..99d84faf2 100644 --- a/.github/workflows/main_matrix.yml +++ b/.github/workflows/main_matrix.yml @@ -211,9 +211,9 @@ jobs: # Single, stable status check for branch protection. # Always runs and passes only if every build and check that ran succeeded. - # Consumed in PRs and Merge Queue ci-gate: - if: always() + # Consumed in PRs and Merge Queue + if: contains(fromJSON('["pull_request", "merge_group"]'), github.event_name) && !cancelled() needs: [build, check] runs-on: ubuntu-slim steps: