From ac467d4d0b30fda5763d3b9e6e9eb9d988673b58 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Tue, 3 Dec 2024 13:48:51 -0800 Subject: [PATCH] Results check bug --- .github/workflows/analysis.yml | 2 +- .github/workflows/pr-open.yml | 2 +- .github/workflows/pr-validate.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 6026492d..846f9f89 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -113,7 +113,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" diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index b64b2616..4acba71b 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -49,7 +49,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" diff --git a/.github/workflows/pr-validate.yml b/.github/workflows/pr-validate.yml index d46eb165..2ea628d3 100644 --- a/.github/workflows/pr-validate.yml +++ b/.github/workflows/pr-validate.yml @@ -38,7 +38,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"