Skip to content

Commit 6f33a55

Browse files
committed
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 <[email protected]>
1 parent c775464 commit 6f33a55

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.github/workflows/e2e-gitea.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ name: e2e-gitea
1111

1212
jobs:
1313
test:
14+
if: github.actor != 'dependabot[bot]'
1415
timeout-minutes: 60
1516
runs-on: ubuntu-latest
1617
steps:

.github/workflows/e2e-github.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
test:
13+
if: github.actor != 'dependabot[bot]'
1314
runs-on: ubuntu-latest
1415
steps:
1516
- name: Checkout

.github/workflows/e2e-gitlab.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ name: e2e-gitlab
1111

1212
jobs:
1313
test:
14+
if: github.actor != 'dependabot[bot]'
1415
timeout-minutes: 60
1516
runs-on: ubuntu-latest
1617
steps:

.github/workflows/e2e-stash.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
test:
13+
if: github.actor != 'dependabot[bot]'
1314
runs-on: ubuntu-latest
1415
steps:
1516
- name: Checkout

0 commit comments

Comments
 (0)