From a25d16efe2067aa828d4cadf81b8156079b82261 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Fri, 28 Jul 2023 19:32:45 +0100 Subject: [PATCH] only run ci on PR and push to main --- .woodpecker.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 98731e8..9d90676 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,6 +1,11 @@ pipeline: build: image: rust + when: + - event: pull_request + repo: kemitix/podal + - event: push + branch: main commands: - rustup component add rustfmt clippy - cargo --version