Merge pull request #439 from rhafer/woodpecker-disable-exclude

Disable the 'exclude' patterns on the path conditional for now
This commit is contained in:
Ralf Haferkamp
2025-03-19 17:39:54 +01:00
committed by GitHub
+5
View File
@@ -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 []