From b4b98e84d96a103eb4fc434faa78ffec3b220949 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Mon, 3 Jul 2023 16:33:22 -0700 Subject: [PATCH] Update result job condition (#52155) Ensures when the cancelled status occurs we don't mark it as passed. --- .github/workflows/build_and_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 6778acd3e64ce..bd4616a55247d 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -215,4 +215,4 @@ jobs: name: thank you, next steps: - run: exit 1 - if: ${{ always() && contains(needs.*.result, 'failure') }} + if: ${{ always() && !contains(needs.*.result, 'success') }}