rust-lang / triagebot

Automation/tooling for Rust spaces
https://triage.rust-lang.org
Apache License 2.0
170 stars 74 forks source link

label names handled by the shortcut command should be configurable #1634

Open JohnTitor opened 2 years ago

JohnTitor commented 2 years ago

Currently the label names handled by the shortcut command are hardcoded:

https://github.com/rust-lang/triagebot/blob/a2ae093f52e39cd051df4340b68a752f77464c9c/src/handlers/shortcut.rs#L29-L31

That would enforce other repos to use the exact same names, but that restriction shouldn't be necessary and we should be able to change them as we want.

Mark-Simulacrum commented 2 years ago

Happy to see a PR changing this, so long as we preserve the defaults (at least until rust-lang/rust updates its configuration with the right labels).