From 6f33a55dbf4f315593739c1536c0d0b0b38fbc74 Mon Sep 17 00:00:00 2001 From: Max Jonas Werner Date: Tue, 10 Dec 2024 11:02:02 +0100 Subject: [PATCH] Skip running e2e tests on dependabot PRs Dependabot PRs don't have permission to access certain resources such as repo/org secrets so the e2e tests will always fail on those PRs. It doesn't make a lot of sense to run e2e tests on dependabot PRs, anyway, as we only let dependabot bump actions which don't have any impact on the functionality of the library. Signed-off-by: Max Jonas Werner --- .github/workflows/e2e-gitea.yaml | 1 + .github/workflows/e2e-github.yaml | 1 + .github/workflows/e2e-gitlab.yaml | 1 + .github/workflows/e2e-stash.yaml | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/workflows/e2e-gitea.yaml b/.github/workflows/e2e-gitea.yaml index 01ea3d0..b343ff6 100644 --- a/.github/workflows/e2e-gitea.yaml +++ b/.github/workflows/e2e-gitea.yaml @@ -11,6 +11,7 @@ name: e2e-gitea jobs: test: + if: github.actor != 'dependabot[bot]' timeout-minutes: 60 runs-on: ubuntu-latest steps: diff --git a/.github/workflows/e2e-github.yaml b/.github/workflows/e2e-github.yaml index 25ee706..e780908 100644 --- a/.github/workflows/e2e-github.yaml +++ b/.github/workflows/e2e-github.yaml @@ -10,6 +10,7 @@ on: jobs: test: + if: github.actor != 'dependabot[bot]' runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/e2e-gitlab.yaml b/.github/workflows/e2e-gitlab.yaml index 077e57a..be0ce59 100644 --- a/.github/workflows/e2e-gitlab.yaml +++ b/.github/workflows/e2e-gitlab.yaml @@ -11,6 +11,7 @@ name: e2e-gitlab jobs: test: + if: github.actor != 'dependabot[bot]' timeout-minutes: 60 runs-on: ubuntu-latest steps: diff --git a/.github/workflows/e2e-stash.yaml b/.github/workflows/e2e-stash.yaml index a395cb7..1b640c1 100644 --- a/.github/workflows/e2e-stash.yaml +++ b/.github/workflows/e2e-stash.yaml @@ -10,6 +10,7 @@ on: jobs: test: + if: github.actor != 'dependabot[bot]' runs-on: ubuntu-latest steps: - name: Checkout