Skip to content

Commit 12a4297

Browse files
authored
test(e2e): Don't run E2E tests on fork PRs (#5986)
1 parent 80f586e commit 12a4297

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,8 @@ jobs:
622622
623623
job_e2e_tests:
624624
name: E2E Tests
625+
# 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
626+
if: github.repository == 'getsentry/sentry-javascript'
625627
needs: [job_get_metadata, job_build]
626628
runs-on: ubuntu-latest
627629
timeout-minutes: 10

0 commit comments

Comments
 (0)