Update ci-gate condition to check event types and cancellation status (#11329)

This commit is contained in:
Austin
2026-08-01 17:18:35 +00:00
committed by GitHub
parent ad5d877c16
commit d9f1622ec1
+2 -2
View File
@@ -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: