Only run CI on pushes to main and PRs
This commit is contained in:
parent
1ec5af8ec5
commit
c3c2ab37cc
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
steps:
|
||||
- name: lint
|
||||
when:
|
||||
- event: pull_request
|
||||
- event: push
|
||||
branch: main
|
||||
image: python:3-alpine
|
||||
commands:
|
||||
- python -m pip install --upgrade pip
|
||||
|
|
Loading…
Reference in a new issue