ci: Correctly filter for events in woodpecker
Fixes the following linter issue: https://woodpecker-ci.org/docs/usage/linter#event-filter-for-all-steps
This commit is contained in:
parent
bd51e17221
commit
32e735baef
3 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
|||
when:
|
||||
- event: push
|
||||
|
||||
steps:
|
||||
lint_ruff:
|
||||
image: ghcr.io/astral-sh/uv:python3.11-trixie-slim
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
when:
|
||||
- event: push
|
||||
|
||||
steps:
|
||||
pyright:
|
||||
image: ghcr.io/astral-sh/uv:python3.11-trixie-slim
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
when:
|
||||
branch: main
|
||||
- event: push
|
||||
|
||||
steps:
|
||||
pytest:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue