mirror of
https://github.com/actions/labeler.git
synced 2025-12-12 12:37:48 +00:00
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.