Skip to content

Commit

Permalink
ci: Do not run E2E tests for dependabot PRs
Browse files Browse the repository at this point in the history
As they lack access to secrets
  • Loading branch information
mydea committed Nov 18, 2022
1 parent e0fe46d commit f71ce3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Expand Up @@ -679,7 +679,9 @@ jobs:
job_e2e_tests:
name: E2E Tests
# 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
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
if:
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
github.actor != 'dependabot[bot]'
needs: [job_get_metadata, job_build]
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down

0 comments on commit f71ce3a

Please sign in to comment.