feat: add 'some-with-excludes' predicate quantifier (#322)

This commit is contained in:
Pavel Kutáč
2026-07-31 23:44:02 +02:00
committed by GitHub
parent b41dfa943b
commit 4711b7a31b
6 changed files with 363 additions and 39 deletions

View File

@@ -46,7 +46,11 @@ inputs:
default: '100'
predicate-quantifier:
description: |
allows to override the "at least one pattern" behavior to make it so that all of the patterns have to match or otherwise the file is excluded.
allows to override the "at least one pattern" behavior:
'some' - file is included if it matches at least one pattern (default).
'every' - file is included only if it matches all of the patterns.
'some-with-excludes' - file is included if it matches at least one pattern
and no negated pattern (the ones prefixed with '!').
required: false
default: 'some'
outputs: