-
Notifications
You must be signed in to change notification settings - Fork 79
Labeling
This bot allows anyone to apply labels to issues.
The specific grammar can be found in https://github.com/rust-lang/triagebot/blob/master/parser/src/command/relabel.rs, but some examples are listed below. The grammar is intended to be fairly intuitive for people, to prevent needing to reach for documentation when using the bot.
@rustbot modify labels to +T-lang, -T-compiler
This will remove the T-compiler
label and add the T-lang
label. You can also omit the +
sign, if you want, and it'll be implied.
You can also write the same command in a few other ways:
@rustbot modify labels to +T-lang and -T-compiler
@rustbot modify labels: +T-lang and -T-compiler
@rustbot modify labels to +T-lang and -T-compiler
Note that the command can either terminate with a .
or a newline -- otherwise, the bot will not parse the command successfully.
The bot currently restricts the labels that can be applied by people outside the Rust teams. For example, they can't add the I-unsound label. Most of the time, you shouldn't hit this. Feel free to ping the release team if you feel that a label should be added to the set of allowed labels!