diff --git a/.github/workflows/tests-integration.yml b/.github/workflows/tests-integration.yml index ddb09da1496..003bbeef9d6 100644 --- a/.github/workflows/tests-integration.yml +++ b/.github/workflows/tests-integration.yml @@ -103,8 +103,8 @@ jobs: needs: - get-sha - set-env-name - if: > - ${{ always() && + if: ${{ + always() && needs.set-env-name.result == 'success' && (github.event_name != 'workflow_dispatch' || inputs.workflow == 'all' || inputs.workflow == 'run-integration-tests-cf-env') }} @@ -121,8 +121,8 @@ jobs: needs: - get-sha - set-env-name - if: > - ${{ always() && + if: ${{ + always() && needs.set-env-name.result == 'success' && (github.event_name != 'workflow_dispatch' || inputs.workflow == 'all' || inputs.workflow == 'run-integration-tests-cf-env-with-client-creds') }}