about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-12-12 07:45:32 +0100
committerGitHub <noreply@github.com>2021-12-12 07:45:32 +0100
commit479e18920cdcf1201ad5ea2bc6da8ecd654a1afc (patch)
tree3fa5d4f97b6de56bc08d68c40eb062ea5cfff9ac
parent6d9d8de0290ab4a56772315f958ca6e1d75b6728 (diff)
parentdce45a924781288006cb8165a4c5451bfdadc544 (diff)
downloadrust-479e18920cdcf1201ad5ea2bc6da8ecd654a1afc.tar.gz
rust-479e18920cdcf1201ad5ea2bc6da8ecd654a1afc.zip
Rollup merge of #91817 - rust-lang:rustdoc-autolabel, r=Mark-Simulacrum
rustbot: Add autolabeling for `T-rustdoc`

This commit adds autolabeling for the `T-rustdoc` label, for PRs that
modify rustdoc's source code, tests, or internal tooling.

This is possible now that rust-lang/triagebot#1321 has landed.
-rw-r--r--triagebot.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/triagebot.toml b/triagebot.toml
index 7a9908fe8c0..fb9cee43b2d 100644
--- a/triagebot.toml
+++ b/triagebot.toml
@@ -91,6 +91,29 @@ exclude_labels = [
     "requires-nightly",
 ]
 
+[autolabel."T-rustdoc"]
+trigger_files = [
+    # Source code
+    "src/librustdoc",
+    "src/tools/rustdoc",
+    "src/rustdoc-json-types",
+
+    # Tests
+    "src/test/rustdoc",
+    "src/test/rustdoc-ui",
+    "src/test/rustdoc-gui",
+    "src/test/rustdoc-js",
+    "src/test/rustdoc-js-std",
+    "src/test/rustdoc-json",
+
+    # Internal tooling
+    "src/etc/htmldocck.py",
+    "src/tools/jsondocck",
+    "src/tools/rustdoc-gui",
+    "src/tools/rustdoc-js",
+    "src/tools/rustdoc-themes",
+]
+
 [notify-zulip."I-prioritize"]
 zulip_stream = 245100 # #t-compiler/wg-prioritization/alerts
 topic = "#{number} {title}"