From c373222e3ab9a02ea35d83f638c09047320663dd Mon Sep 17 00:00:00 2001 From: trinity-1686a Date: Sun, 15 Feb 2026 08:57:52 +0000 Subject: [PATCH] run push CI only on main branch (#1343) currently, ci runs twice for people pushing directly to this repository (e.g. https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1340, you can see both woodpecker/{pr,pull}/debug) that's a waste of resources, we'll do twice exactly the same thing. i propose we only run push ci on `main-*` branches, so that creating a PR doesn't create two jobs Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1343 Co-authored-by: trinity-1686a Co-committed-by: trinity-1686a --- .woodpecker/debug.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.woodpecker/debug.yaml b/.woodpecker/debug.yaml index 6cfbab7a..52894b91 100644 --- a/.woodpecker/debug.yaml +++ b/.woodpecker/debug.yaml @@ -2,13 +2,14 @@ labels: nix: "enabled" when: - event: - - push - - tag - - pull_request - - deployment - - cron - - manual + - event: + - tag + - pull_request + - deployment + - cron + - manual + - event: push + branch: main-* steps: - name: check formatting