From 67834f0b84d915fd4e68803efd6afeef43d85fbd Mon Sep 17 00:00:00 2001
From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com>
Date: Sat, 1 Jul 2023 13:43:43 +0200
Subject: [PATCH] Document triagebot `new_issue`

Document the changes in https://github.com/rust-lang/triagebot/pull/1708
---
 src/triagebot/autolabels.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

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).