Skip to content

Commit

Permalink
Auto merge of #11498 - dtolnay-contrib:relabel, r=ehuss
Browse files Browse the repository at this point in the history
Enable triagebot's relabel functionality

### What does this PR try to resolve?

This fixes the following failure that rustbot currently posts whenever someone tries to use "<b>`@</b><b>rustbot</b>` label" in this repository.

> **Error**: The feature `relabel` is not enabled in this repository.
> To enable it add its section in the `triagebot.toml` in the root of the repository.

Unauthenticated relabel has been enabled in rust-lang/rust for nearly 4 years. People overwhelmingly use it in good faith.

<br>

### How should we test and review this PR?

Compare against https://github.com/rust-lang/rust/blob/1.66.0/triagebot.toml.

Also skim through the 7 pages of labels on https://github.com/rust-lang/cargo/labels, whether it makes sense the ones I decided to allow arbitrary GitHub users to apply.

<br>

### Additional information

Attempted uses of "<b>`@</b><b>rustbot</b>` label", that failed, but this PR would allow:

- #10343 (comment)
- #10243 (comment)
- #9982 (comment)
- #9128 (comment)
- #9067 (comment)
- #8441 (comment)
- #11432 (comment)
- #8841 (comment)
- #10820 (comment)
- #10572 (comment)
- #9114 (comment)
- #8980 (comment)
- #9064 (comment)
- #8726 (comment)
- #8089 (comment)
  • Loading branch information
bors committed Dec 18, 2022
2 parents e517d5a + a41b599 commit 9f4efa5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions triagebot.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
[relabel]
allow-unauthenticated = [
"A-*",
"C-*",
"Command-*",
"E-*",
"O-*",
"S-*",
"Z-*",
"needs-mcve",
"regression-*",
"relnotes",
]

[ping.windows]
message = """\
Hey Windows Group! This bug has been identified as a good "Windows candidate".
Expand Down

0 comments on commit 9f4efa5

Please sign in to comment.