Trigger CI jobs only for PRs and main
to minimize the resource usage when we & Dependabot push to branches
This commit is contained in:
parent
17dd9582c8
commit
98142d3325
2 changed files with 12 additions and 2 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -1,6 +1,12 @@
|
|||
name: Tests
|
||||
|
||||
on: [pull_request, push]
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- "*"
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
pylint:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue