test: enable exclude condition again

This commit is contained in:
Michael Barz
2025-04-04 17:32:14 +02:00
parent 05f0a8dc96
commit 2fc33db3aa

View File

@@ -2172,11 +2172,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 []