about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2021-12-11 18:03:52 -0800
committerNoah Lev <camelidcamel@gmail.com>2021-12-12 11:10:05 -0800
commit1f65adfabfe8b5ad2f4c0482fb6681d25c66cdc0 (patch)
tree7e16b79613af981747369d0079eb82d8371830a0
parent753e569c9c2a4e3ef394ef7abd0802bf57f66bce (diff)
downloadrust-1f65adfabfe8b5ad2f4c0482fb6681d25c66cdc0.tar.gz
rust-1f65adfabfe8b5ad2f4c0482fb6681d25c66cdc0.zip
rustbot: Add autolabeling for `T-compiler`
This commit adds autolabeling for the `T-compiler` label, for PRs that
modify rustc's source code or tests (currently only `src/test/ui`).

This is possible now that rust-lang/triagebot#1321 has landed.
-rw-r--r--triagebot.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/triagebot.toml b/triagebot.toml
index fb9cee43b2d..b484c25ea51 100644
--- a/triagebot.toml
+++ b/triagebot.toml
@@ -114,6 +114,15 @@ trigger_files = [
     "src/tools/rustdoc-themes",
 ]
 
+[autolabel."T-compiler"]
+trigger_files = [
+    # Source code
+    "compiler",
+
+    # Tests
+    "src/test/ui",
+]
+
 [notify-zulip."I-prioritize"]
 zulip_stream = 245100 # #t-compiler/wg-prioritization/alerts
 topic = "#{number} {title}"