Revert "Disable the 'exclude' patterns on the path conditional for now"

This reverts commit 1a54b4ce90. The
exclude feature has been fixed in woodpecker 3.5.0

Partial fixes: https://github.com/opencloud-eu/qa/issues/37
This commit is contained in:
Ralf Haferkamp
2025-04-03 09:45:45 +02:00
parent c2c0e61d5e
commit 8a8523c922

View File

@@ -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 []