Skip to content

Commit

Permalink
Exclude Dependabot created branches from CI testing on push
Browse files Browse the repository at this point in the history
When Dependabot creates a pull request we always end up with two CI runs
-- one for the pull request and one for the push of the commit to a
branch.
Exclude pushes to branches for Dependabot created pull requests, to
prevent this duplication of work.
  • Loading branch information
d-e-s-o committed Jun 21, 2024
1 parent c58dd56 commit 3da183b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ name: Test
on:
pull_request:
push:
branches:
- '**'
- '!dependabot/**'
workflow_call:

env:
Expand Down

0 comments on commit 3da183b

Please sign in to comment.