diff --git a/.github/workflows/e2e-tests-windows.yml b/.github/workflows/e2e-tests-windows.yml index 4aae99140d3f..909541201212 100644 --- a/.github/workflows/e2e-tests-windows.yml +++ b/.github/workflows/e2e-tests-windows.yml @@ -21,11 +21,13 @@ env: jobs: windows-file-changed: runs-on: ubuntu-latest + if: ${{ github.event_name == 'pull_request' }} steps: - name: Checkout uses: actions/checkout@v4 - name: Did windows files changed - run: echo "changed=$(./.github/workflows/scripts/is_changed_file_windows.sh)" >> "$GITHUB_OUTPUT" + run: echo "changed=$(./.github/workflows/scripts/is_changed_file_windows.sh )" >> "$GITHUB_OUTPUT" + - run: echo $(./.github/workflows/scripts/is_changed_file_windows.sh ${{ github.event.pull_request.base.sha}} ${{ github.event.pull_request.head.sha }} ) collector-build: runs-on: windows-latest