From f71ce3ad61bc27a95a714ac548a957c4f9f56b5f 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 571f948519ea..6c2a58ad3da3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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