From bcd1a96a82357acc101c3b2b2d4a695c712a556d Mon Sep 17 00:00:00 2001 From: mikolajbrzezinski <86791239+mikolajbrzezinski@users.noreply.github.com> Date: Thu, 23 Feb 2023 17:13:44 +0100 Subject: [PATCH] fix issues with cancelling jobs (#742) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5fdbfca1..9a32bd8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,7 +147,7 @@ jobs: runs-on: ubuntu-latest needs: [veracode, build_and_test, all_tests_matrix] if: > - !failure() && + !(failure() || cancelled()) && contains(github.event.head_commit.message, '[release]') && github.event_name != 'pull_request' && (github.ref_name == 'master' || startsWith(github.ref_name, 'SP/') || startsWith(github.ref_name, 'HF/'))