Skip to content

Commit

Permalink
Avoid duplicate action runs for eg. Dependabot
Browse files Browse the repository at this point in the history
As it pushes to a branch in the pino repo itself, unless we tell the CI jobs to only trigger `push` on the `main` branch, then it will trigger both `push` and `pull_request` on eg. the Dependabot PR:s
  • Loading branch information
voxpelli committed Nov 15, 2021
1 parent 8fde791 commit 7d2a9a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bench.yml
@@ -1,6 +1,8 @@
name: Benchmarks
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '*.md'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
@@ -1,6 +1,8 @@
name: CI
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '*.md'
Expand Down

0 comments on commit 7d2a9a0

Please sign in to comment.