From 56b0a804499f06b5b1b92c41a7bb04849f90bd45 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Tue, 3 Dec 2024 23:22:07 -0800 Subject: [PATCH] fix(ci): catch canceled jobs (#1768) --- .github/workflows/pr-open.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index cf5b274dc..ab6f3758d 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -55,7 +55,7 @@ jobs: # View results echo "needs.*.result: ${{ toJson(needs.*.result) }}" - - if: contains(needs.*.result, 'canceled|failure') + - if: contains(needs.*.result, 'failure')||contains(needs.*.result, 'canceled') run: | # Job failure found echo "At least one job has failed"