Skip to content

Commit 1e98d2e

Browse files
author
Luca Forstner
authored
ci(e2e): Don't run E2E tests on forked PRs (#6063)
1 parent 3de8e7e commit 1e98d2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ jobs:
620620
job_e2e_tests:
621621
name: E2E Tests
622622
# 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
623-
if: github.repository == 'getsentry/sentry-javascript'
623+
if: github.event.pull_request.head.repo.full_name == github.repository
624624
needs: [job_get_metadata, job_build]
625625
runs-on: ubuntu-latest
626626
timeout-minutes: 10

0 commit comments

Comments
 (0)