From 6ddd185cff4c0b0372e079a3ddbb8acde926f751 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Wed, 27 Nov 2024 15:00:54 -0800 Subject: [PATCH 1/2] fix(ci): catch canceled jobs --- .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 a88c8f775..6cf0d3ee1 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, 'failure') + - if: contains(needs.*.result, 'canceled', 'failure') run: | # Job failure found echo "At least one job has failed" From 8223bbd585d54fa30e4e58a9057e87a404a36521 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Wed, 27 Nov 2024 15:04:13 -0800 Subject: [PATCH 2/2] fix(ci): catch canceled jobs --- .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 6cf0d3ee1..cf5b274dc 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, 'canceled|failure') run: | # Job failure found echo "At least one job has failed"