Skip to content
Mark Rousskov edited this page Feb 26, 2019 · 9 revisions

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/label.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 must always terminate with a . -- otherwise, the bot will not parse the command successfully.

Errors

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!

Clone this wiki locally