From c3c2ab37cc01cd969a0bddbe7b3cbe708b27046b Mon Sep 17 00:00:00 2001 From: Liam Steckler Date: Sat, 10 Feb 2024 20:03:08 -0800 Subject: [PATCH] Only run CI on pushes to main and PRs --- .woodpecker.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 435dae8..48f6177 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -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