diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3df15e3eb112..7448523e084a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -620,7 +620,7 @@ jobs: job_e2e_tests: name: E2E Tests # We only run E2E tests for non-fork PRs because the E2E tests require secrets to work and they can't be accessed from forks - if: github.event.pull_request.head.repo.full_name == github.repository + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository needs: [job_get_metadata, job_build] runs-on: ubuntu-latest timeout-minutes: 10