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:
Marty Oehme 2025-09-10 22:27:05 +02:00
parent bd51e17221
commit 32e735baef
Signed by: Marty
GPG key ID: 4E535BC19C61886E
3 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,6 @@
when:
- event: push
steps: steps:
lint_ruff: lint_ruff:
image: ghcr.io/astral-sh/uv:python3.11-trixie-slim image: ghcr.io/astral-sh/uv:python3.11-trixie-slim

View file

@ -1,3 +1,6 @@
when:
- event: push
steps: steps:
pyright: pyright:
image: ghcr.io/astral-sh/uv:python3.11-trixie-slim image: ghcr.io/astral-sh/uv:python3.11-trixie-slim

View file

@ -1,5 +1,5 @@
when: when:
branch: main - event: push
steps: steps:
pytest: pytest: