diff --git a/src/triagebot/autolabels.md b/src/triagebot/autolabels.md index f9d5424e0..8b39760b4 100644 --- a/src/triagebot/autolabels.md +++ b/src/triagebot/autolabels.md @@ -66,6 +66,17 @@ For example: new_pr = true ``` +### Triggered by new issues + +Labels can be added to any issue when it is opened. +Set the `new_issue = true` config option to enable this. +For example: + +```toml +[autolabel."new-issue"] +new_issue = true +``` + ## Implementation See [`src/handlers/autolabel.rs`](https://github.com/rust-lang/triagebot/blob/HEAD/src/handlers/autolabel.rs).