Skip to content

Commit 5be5a04

Browse files
authored
ci: Do not run E2E tests for dependabot PRs (#6235)
As they lack access to secrets
1 parent fccca98 commit 5be5a04

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,10 @@ jobs:
679679
job_e2e_tests:
680680
name: E2E Tests
681681
# 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
682-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
682+
# Dependabot PRs sadly also don't have access to secrets, so we skip them as well
683+
if:
684+
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
685+
github.actor != 'dependabot[bot]'
683686
needs: [job_get_metadata, job_build]
684687
runs-on: ubuntu-latest
685688
timeout-minutes: 10

0 commit comments

Comments
 (0)