diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 55863099d4ca..2922da501efb 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -41,6 +41,11 @@ jobs: if: github.event_name == 'pull_request' run: | echo "enable_integration=true" >> $GITHUB_ENV + - name: Decide manual trigger integration test enablement + # Always enable integration tests when manually triggered + if: github.event_name == 'workflow_dispatch' + run: | + echo "enable_integration=true" >> $GITHUB_ENV - name: Checkout post-submit commits if: github.event_name == 'push' uses: actions/checkout@v4 diff --git a/.github/workflows/integration-tests.yml.in b/.github/workflows/integration-tests.yml.in index d4917816a4f0..7de7264272c1 100644 --- a/.github/workflows/integration-tests.yml.in +++ b/.github/workflows/integration-tests.yml.in @@ -45,6 +45,12 @@ jobs: run: | echo "enable_integration=true" >> $GITHUB_ENV + - name: Decide manual trigger integration test enablement + # Always enable integration tests when manually triggered + if: github.event_name == 'workflow_dispatch' + run: | + echo "enable_integration=true" >> $GITHUB_ENV + - name: Checkout post-submit commits if: github.event_name == 'push' uses: actions/checkout@v4