From 8a8523c922773880b629c7a4ee71112ff33c71bf Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Thu, 3 Apr 2025 09:45:45 +0200 Subject: [PATCH] Revert "Disable the 'exclude' patterns on the path conditional for now" This reverts commit 1a54b4ce90c9d4451464b5b0d63e5c8f25e43f60. The exclude feature has been fixed in woodpecker 3.5.0 Partial fixes: https://github.com/opencloud-eu/qa/issues/37 --- .woodpecker.star | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.woodpecker.star b/.woodpecker.star index 9749257629..63f0d2bcfa 100644 --- a/.woodpecker.star +++ b/.woodpecker.star @@ -2177,11 +2177,6 @@ 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 []