fix: assetTagFilter any matching (#32027)
fix: assetTagFilter any matching (#32008) (cherry picked from commit 28e375c0585f8ee69f80257dc0be073a2b114cdf) Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
This commit is contained in:
co-authored by
Daniel Dietzler
parent
643e606a5b
commit
6e5a4fdf00
@@ -187,7 +187,7 @@ const methods = wrapper<Manifest>({
|
||||
for (const tag of config.tags) {
|
||||
if (assetTags.includes(tag)) {
|
||||
if (config.matching === 'any') {
|
||||
break;
|
||||
return { workflow: { continue: true } };
|
||||
} else if (config.matching === 'none') {
|
||||
return { workflow: { continue: false } };
|
||||
}
|
||||
@@ -196,7 +196,7 @@ const methods = wrapper<Manifest>({
|
||||
}
|
||||
}
|
||||
|
||||
return { workflow: { continue: true } };
|
||||
return { workflow: { continue: config.matching !== 'any' } };
|
||||
},
|
||||
|
||||
assetTypeFilter: ({ config, data }) => {
|
||||
|
||||
Reference in New Issue
Block a user