Skip to content

Commit ff7da6f

Browse files
NoratriebMark-Simulacrum
authored andcommitted
Document triagebot new_issue
Document the changes in rust-lang/triagebot#1708
1 parent d081da9 commit ff7da6f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/triagebot/autolabels.md

+11
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@ For example:
6666
new_pr = true
6767
```
6868

69+
### Triggered by new issues
70+
71+
Labels can be added to any issue when it is opened.
72+
Set the `new_issue = true` config option to enable this.
73+
For example:
74+
75+
```toml
76+
[autolabel."new-issue"]
77+
new_issue = true
78+
```
79+
6980
## Implementation
7081

7182
See [`src/handlers/autolabel.rs`](https://github.com/rust-lang/triagebot/blob/HEAD/src/handlers/autolabel.rs).

0 commit comments

Comments
 (0)