Skip to content

Commit 3423a0a

Browse files
author
Luca Forstner
authored
ci: Don't run E2E tests for forks (#149)
1 parent f98523b commit 3423a0a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/checks.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ jobs:
7373
- run: yarn test:integration
7474

7575
test-e2e:
76+
# 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
77+
# Dependabot PRs sadly also don't have access to secrets, so we skip them as well
78+
if:
79+
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
80+
github.actor != 'dependabot[bot]'
7681
needs: build
7782
name: E2E Tests
7883
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)