labeler
efc1b29f - Fix "any" matching when not all globs match (#75)

Commit
5 years ago
Fix "any" matching when not all globs match (#75) The previous logic had a bug where the "any" pattern list could match against changed files even when not all globs matched a single changed file. The bug arose individual globs in the "any" list were tested against all changed files individually. Therefore, as long as at least one changed file matched an individual glob in the list, a successful match would be found. The correct behavior is to match all the globs in the list against each individual file. This ensures that is possible to define exlcusions correctly and matched the documented behavior.
Author
Parents
Loading