From 61680f72a740761461efc3888f4414c0d84fd4cf Mon Sep 17 00:00:00 2001 From: Peter Nied Date: Mon, 29 Jul 2024 22:01:10 +0000 Subject: [PATCH] Check the results of all downstream jobs Signed-off-by: Peter Nied --- .github/workflows/CI.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9ffc8b015..abbce358b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -218,5 +218,8 @@ jobs: if: always() runs-on: ubuntu-latest steps: + - if: ${{ contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped') }} + run: | + echo "One or more job cancelled, failed, or skipped" && exit 1 - run: | echo '## :heavy_check_mark: All continous integration checks pass' >> $GITHUB_STEP_SUMMARY