Trigger CI jobs only for PRs and main

to minimize the resource usage when we & Dependabot push to branches
This commit is contained in:
Alexander Todorov 2021-09-07 13:54:21 +03:00 committed by Ondřej Budai
parent 17dd9582c8
commit 98142d3325
2 changed files with 12 additions and 2 deletions

View file

@ -1,6 +1,12 @@
name: Tests
on: [pull_request, push]
on:
pull_request:
branches:
- "*"
push:
branches:
- main
jobs:
pylint: