]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
labeler: limit file-based label to 5 41358/head
authorLuca Boccassi <luca.boccassi@gmail.com>
Thu, 26 Mar 2026 15:07:56 +0000 (15:07 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 26 Mar 2026 15:07:56 +0000 (15:07 +0000)
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.

.github/labeler.yml

index 65ac9750252146c2b22027b73b925138734548d9..5e90662c284ead1336e603fdac00da4a2bdf8de4 100644 (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/*'