Skip to content

Commit

Permalink
Skip running e2e tests on dependabot PRs
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
makkes committed Dec 10, 2024
1 parent c775464 commit 6f33a55
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/e2e-gitea.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ name: e2e-gitea

jobs:
test:
if: github.actor != 'dependabot[bot]'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

jobs:
test:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-gitlab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ name: e2e-gitlab

jobs:
test:
if: github.actor != 'dependabot[bot]'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-stash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

jobs:
test:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 6f33a55

Please sign in to comment.