When many files changes, the action runs very slow (up to 30 minutes for 10K+ files). It looks like the implementation goes over all files instead of stopping as soon as one is matched.
Action version:
v5.0.0
Platform:
[x] Ubuntu
[ ] macOS
[ ] Windows
Runner type:
[ ] Hosted
[x] Self-hosted
Repro steps:
Create a repo with 100K files
Configure labeler with a glob pattern to match those files
Description: We use the action on a repository that contains 10K+ files, with filters:
When many files changes, the action runs very slow (up to 30 minutes for 10K+ files). It looks like the implementation goes over all files instead of stopping as soon as one is matched.
Action version: v5.0.0
Platform:
Runner type:
Repro steps:
Expected behavior: Action runs in a few seconds
Actual behavior: Action runs very slow