labeler: limit file-based label to 5

When doing large refactors or large changes the bot spams
labels left and right, making the PR unreadable. Use the
new option to limit the bot to a max of 5 file-based
labels. If more than 5 would be set, all file-based labels
are skipped.
This commit is contained in:
Luca Boccassi
2026-03-26 15:07:56 +00:00
parent a42fbad472
commit c30656f35a

1
.github/labeler.yml vendored
View File

@@ -1,6 +1,7 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# vi: sw=2 ts=2 et:
changed-files-labels-limit: 5
analyze:
- changed-files:
- any-glob-to-any-file: 'src/analyze/*'