Skip to content

Commit

Permalink
GH-100: Don't run CI jobs by Dependabot push (#101)
Browse files Browse the repository at this point in the history
It seems that Dependabot always use `dependabot/*` branch. If we
ignore `push` trigger for the branch, we can run only `pull_request`
trigger for Dependabot.
  • Loading branch information
kou authored Sep 7, 2024
1 parent 2ffa25a commit d35b4c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ name: Lint

on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:

concurrency:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ name: Test

on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:

concurrency:
Expand Down

0 comments on commit d35b4c9

Please sign in to comment.