From 12a42974e5dfa3b9f316ea98874520fbcbb20d87 Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Tue, 18 Oct 2022 13:36:08 +0200 Subject: [PATCH] test(e2e): Don't run E2E tests on fork PRs (#5986) --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0da365f783f6..2261807947f2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -622,6 +622,8 @@ 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.repository == 'getsentry/sentry-javascript' needs: [job_get_metadata, job_build] runs-on: ubuntu-latest timeout-minutes: 10