Auto labels will automatically apply labels to GitHub issues and PRs based on the
[autolabel] configuration in
Auto labels have no manual control. See labeling for manually changing labels.
Labels can be added when another label is added.
trigger_labels config option specifies which labels will cause this to trigger.
# Automatically applies the `I-prioritize` label whenever one of the labels # listed below is added to an issue (unless the issue already has one of the # labels listed in `exclude_labels`). [autolabel."I-prioritize"] trigger_labels = [ "regression-untriaged", "regression-from-stable-to-stable", "regression-from-stable-to-beta", "regression-from-stable-to-nightly", "I-unsound", ] exclude_labels = [ "P-*", "T-infra", "T-release", "requires-nightly", ]
Exclude labels support shell-like
* glob patterns.
Labels can be added based on which files are modified in a PR.
trigger_files config option specifies which files will cause the label to be added.
Paths are matched with
# Adds the `T-compiler` label to any PR that touches `compiler` or # `src/test/ui` unless it already has a `T-*` label. [autolabel."T-compiler"] trigger_files = [ "compiler", "tests/ui", ] exclude_labels = [ "T-*", ]
Labels can be added to any PR when it is opened.
new_pr = true config option to enable this.
[autolabel."S-waiting-on-review"] new_pr = true
Labels can be added to any issue when it is opened.
new_issue = true config option to enable this.
[autolabel."new-issue"] new_issue = true