From 5ccd73a24c32382b4dc50817e53f39c5c5ba00c6 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Tue, 3 Dec 2024 23:13:32 -0800 Subject: [PATCH] ci: fix Results checks (#2194) --- .github/workflows/analysis.yml | 2 +- .github/workflows/pr-open.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index ad69312a5..82dd03b30 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -86,6 +86,6 @@ jobs: if: always() runs-on: ubuntu-24.04 steps: - - if: contains(needs.*.result, 'failure')||contains(needs.*.result, 'failure') + - if: contains(needs.*.result, 'failure')||contains(needs.*.result, 'canceled') run: echo "At least one job has failed." && exit 1 - run: echo "Success!" diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index a6b0ab195..375d20683 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -53,6 +53,6 @@ jobs: if: always() runs-on: ubuntu-24.04 steps: - - if: contains(needs.*.result, 'failure')||contains(needs.*.result, 'failure') + - if: contains(needs.*.result, 'failure')||contains(needs.*.result, 'canceled') run: echo "At least one job has failed." && exit 1 - run: echo "Success!"