Skip to content

Commit

Permalink
Document triagebot new_issue
Browse files Browse the repository at this point in the history
Document the changes in rust-lang/triagebot#1708
  • Loading branch information
Noratrieb authored and Mark-Simulacrum committed Jul 1, 2023
1 parent d081da9 commit ff7da6f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/triagebot/autolabels.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

0 comments on commit ff7da6f

Please sign in to comment.