Compare commits

...

2 commits

Author SHA1 Message Date
bd1ba5b07a 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
Reviewed-on: #13
2024-02-10 20:03:47 -08:00
c3c2ab37cc Only run CI on pushes to main and PRs
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-02-10 20:03:08 -08:00

View file

@ -1,5 +1,9 @@
steps: steps:
- name: lint - name: lint
when:
- event: pull_request
- event: push
branch: main
image: python:3-alpine image: python:3-alpine
commands: commands:
- python -m pip install --upgrade pip - python -m pip install --upgrade pip