fix issues with cancelling jobs (#742)

This commit is contained in:
mikolajbrzezinski
2023-02-23 17:13:44 +01:00
committed by GitHub
parent ca5246099b
commit bcd1a96a82

View File

@@ -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/'))