Skip to content

Commit

Permalink
apacheGH-100: Don't run CI jobs by Dependabot push
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 committed Sep 7, 2024
1 parent 7550e50 commit 332726f
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 332726f

Please sign in to comment.