From 8011058d90eb79a4ca0727fc1c2f62f77a964a19 Mon Sep 17 00:00:00 2001 From: Jieyou Xu Date: Sat, 12 Jul 2025 23:12:15 +0800 Subject: [PATCH 1/3] Make it clearer which key-values belong to which autolabel --- triagebot.toml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/triagebot.toml b/triagebot.toml index 9f8ea2dad52fe..ca6770b10fad5 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -216,7 +216,6 @@ trigger_files = [ exclude_labels = [ "T-*", ] - trigger_labels = [ "A-rustdoc-json", "A-rustdoc-type-layout", @@ -265,7 +264,6 @@ trigger_labels = [ "A-rustdoc-ui", "A-rustdoc-js", ] - trigger_files = [ "src/librustdoc/html/", "tests/rustdoc/", @@ -281,7 +279,6 @@ trigger_files = [ "tests/rustdoc-js/", "tests/rustdoc-js-std", ] - trigger_labels = [ "A-type-based-search", ] @@ -311,20 +308,17 @@ trigger_files = [ exclude_labels = [ "T-*", ] - trigger_labels = [ "D-*", "A-diagnostics", ] [autolabel."A-diagnostics"] - trigger_labels = [ "D-*", ] [autolabel."A-lints"] - trigger_labels = [ "L-*", ] From 869c0e729b5220d7dfdb32f63fb9f4f84e2a09be Mon Sep 17 00:00:00 2001 From: Jieyou Xu Date: Sat, 12 Jul 2025 23:13:46 +0800 Subject: [PATCH 2/3] Hoist the more "special" autolabels to the start of the section --- triagebot.toml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/triagebot.toml b/triagebot.toml index ca6770b10fad5..a534e1dceb1d7 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -171,6 +171,19 @@ adjusting release notes. Could you take a look if available? Thanks <3 [prioritize] label = "I-prioritize" +[autolabel."S-waiting-on-review"] +new_pr = true + +[autolabel."S-waiting-on-author"] +new_draft = true + +[autolabel."needs-triage"] +new_issue = true +exclude_labels = [ + "C-tracking-issue", + "A-diagnostics", +] + [autolabel."I-prioritize"] trigger_labels = [ "regression-untriaged", @@ -526,19 +539,6 @@ trigger_files = [ "src/version" ] -[autolabel."S-waiting-on-review"] -new_pr = true - -[autolabel."S-waiting-on-author"] -new_draft = true - -[autolabel."needs-triage"] -new_issue = true -exclude_labels = [ - "C-tracking-issue", - "A-diagnostics", -] - [autolabel."WG-trait-system-refactor"] trigger_files = [ "compiler/rustc_next_trait_solver", From 977e7d4e11f126b38742b04691431d0b2a48af68 Mon Sep 17 00:00:00 2001 From: Jieyou Xu Date: Sat, 12 Jul 2025 23:15:19 +0800 Subject: [PATCH 3/3] Label clippy changes with `T-clippy` team label --- triagebot.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/triagebot.toml b/triagebot.toml index a534e1dceb1d7..125617fce74f7 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -594,6 +594,10 @@ trigger_files = [ "compiler/rustc_codegen_llvm", ] +[autolabel."T-clippy"] +trigger_files = [ + "src/tools/clippy", +] # ------------------------------------------------------------------------------ # Prioritization and team nominations