Open
Description
Description:
We use the action on a repository that contains 10K+ files, with filters:
assets:
- changed-files:
- any-glob-to-any-file: ['inputs/**', 'outputs/**']
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:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Repro steps:
- Create a repo with 100K files
- Configure labeler with a glob pattern to match those files
- Create a commit that modifies all files
Expected behavior:
Action runs in a few seconds
Actual behavior:
Action runs very slow