From a37d5d36d79f40566400502377b0401ec812037c Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Fri, 18 Nov 2022 10:45:09 +0100 Subject: [PATCH] ci: Do not run E2E tests for dependabot PRs As they lack access to secrets --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 571f948519ea..23c53cc6cb9b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -679,7 +679,10 @@ 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 + # Dependabot PRs sadly also don't have access to secrets, so we skip them as well + 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