You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: top-level ignore list for files that should never trigger labels #965
Add a top-level ignore key (a list of globs) whose matches are removed from the changed-files set before any label rule is evaluated, so those files can never, on their own, cause a label to be applied.
This is different from the existing per-rule ! negation: negation has to be repeated inside every rule and is evaluated per-rule, so it can't express "these files should never matter to any label" in a single place.
Justification
Lock files are the motivating case. A dependency bump can rewrite many lock files (gradle.lockfile, package-lock.json, poetry.lock, ...) scattered across per-module directories, without touching any real source. With directory-based rules like:
every module whose lock file changed gets labeled as if its source were modified. Excluding lock files inside each rule is verbose and easy to forget whenever a new rule is added. A single top-level ignore list would solve it once:
Activity
v-chiranjib-swain commentedon Aug 10, 2026
Hello @janhoy ,
Thank you for creating this. We will investigate it and get back to you as soon as we have some feedback.