diff --git a/.github/workflows/ci-security.yml b/.github/workflows/ci-security.yml index c67a4ca921..84d5dd4457 100644 --- a/.github/workflows/ci-security.yml +++ b/.github/workflows/ci-security.yml @@ -60,7 +60,7 @@ jobs: ci-pipline-workflow-call: needs: security-checkpoint - if: github.event_name != 'pull_request_target' || needs.security-checkpoint.result == 'success' + if: (!(cancelled() || failure()) && (github.event_name != 'pull_request_target' || needs.security-checkpoint.result == 'success')) uses: ./.github/workflows/ci-pipeline.yml secrets: inherit with: