Skip to content

Commit f71ce3a

Browse files
committed
ci: Do not run E2E tests for dependabot PRs
As they lack access to secrets
1 parent e0fe46d commit f71ce3a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,9 @@ 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+
if:
683+
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
684+
github.actor != 'dependabot[bot]'
683685
needs: [job_get_metadata, job_build]
684686
runs-on: ubuntu-latest
685687
timeout-minutes: 10

0 commit comments

Comments
 (0)