diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 2671683cc..e61154f10 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -87,7 +87,7 @@ jobs: if: always() runs-on: ubuntu-latest steps: - - if: contains(needs.*.result, 'failure') + - if: contains(needs.*.result, 'canceled|failure') run: echo "At least one job has failed." && exit 1 - run: echo "Success!"