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!"