Merge pull request 'Only run CI on pushes to main and PRs' (#13) from woodpecker-run-only-on-main-and-pr into main
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #13
This commit is contained in:
commit
bd1ba5b07a
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