From 1a54b4ce90c9d4451464b5b0d63e5c8f25e43f60 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Wed, 19 Mar 2025 17:06:31 +0100 Subject: [PATCH] Disable the 'exclude' patterns on the path conditional for now the 'exclude' feature (https://woodpecker-ci.org/docs/usage/workflow-syntax#path) does not seem to provide # what we need. It seems to skip the build as soon as one of the changed files matches an exclude pattern, we only # want to skip of ALL changed files match. So skip this condition for now: --- .woodpecker.star | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.woodpecker.star b/.woodpecker.star index 2f139ee041..2681a9a2d6 100644 --- a/.woodpecker.star +++ b/.woodpecker.star @@ -2245,6 +2245,11 @@ def build(): ] def skipIfUnchanged(ctx, type): + ## FIXME: the 'exclude' feature (https://woodpecker-ci.org/docs/usage/workflow-syntax#path) does not seem to provide + # what we need. It seems to skip the build as soon as one of the changed files matches an exclude pattern, we only + # want to skip of ALL changed files match. So skip this condition for now: + return [] + if "full-ci" in ctx.build.title.lower() or ctx.build.event == "tag" or ctx.build.event == "cron": return []