diff --git a/.github/workflows/tests-integration.yml b/.github/workflows/tests-integration.yml index 9dd085b8e61..52f1b1e4d8f 100644 --- a/.github/workflows/tests-integration.yml +++ b/.github/workflows/tests-integration.yml @@ -49,6 +49,7 @@ jobs: echo "checkout else ${{ github.event.workflow_run.head_sha }}" echo "ref=${{github.event.workflow_run.head_sha}}" >> $GITHUB_OUTPUT fi + echo "Event: ${{ github.event_name }}, Workflow Input: ${{ github.event.inputs.workflow }}" units: name: Basic units to gate for integration tests runs-on: ubuntu-latest @@ -101,7 +102,7 @@ jobs: needs: - get-sha - set-env-name - if: ${{ always() && (inputs.workflow == 'all' || inputs.workflow == 'run-integration-tests-cf-env') }} + if: ${{ always() && (github.event_name != 'workflow_dispatch' || inputs.workflow == 'all' || inputs.workflow == 'run-integration-tests-cf-env') }} uses: ./.github/workflows/tests-integration-reusable.yml with: name: Integration @@ -115,7 +116,7 @@ jobs: needs: - get-sha - set-env-name - if: ${{ always() && (inputs.workflow == 'all' || inputs.workflow == 'run-integration-tests-cf-env-with-client-creds') }} + if: ${{ always() && (github.event_name != 'workflow_dispatch' || inputs.workflow == 'all' || inputs.workflow == 'run-integration-tests-cf-env-with-client-creds') }} uses: ./.github/workflows/tests-integration-reusable.yml with: name: Integration client creds