From 4ed13a37556709e8b54ed4baf3a25784cf800941 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Fri, 3 Mar 2023 10:57:05 +0000 Subject: [PATCH] chore: fix missing files in autolabel trigger_files triagebot checks with `starts_with` only. See https://github.com/rust-lang/triagebot/blob/add83c3ad979cee9e6120a086e36a37b5ff9edfd/src/handlers/autolabel.rs#L45 --- triagebot.toml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/triagebot.toml b/triagebot.toml index 510c0c77c5b..192859537af 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -40,8 +40,7 @@ warn_non_default_branch = true [autolabel."A-build-execution"] trigger_files = [ "src/cargo/core/compiler/compilation.rs", - "src/cargo/core/compiler/job.rs", - "src/cargo/core/compiler/job_queue.rs", + "src/cargo/core/compiler/job_queue/", "src/cargo/core/compiler/mod.rs", ] @@ -209,7 +208,7 @@ trigger_files = [ ] [autolabel."Command-add"] -trigger_files = ["src/bin/cargo/commands/add.rs", "src/cargo/ops/cargo_add/*"] +trigger_files = ["src/bin/cargo/commands/add.rs", "src/cargo/ops/cargo_add/"] [autolabel."Command-bench"] trigger_files = ["src/bin/cargo/commands/bench.rs"] @@ -300,7 +299,7 @@ trigger_files = ["src/bin/cargo/commands/search.rs"] trigger_files = ["src/bin/cargo/commands/test.rs", "src/cargo/ops/cargo_test.rs"] [autolabel."Command-tree"] -trigger_files = ["src/bin/cargo/commands/tree.rs", "src/cargo/ops/tree/*"] +trigger_files = ["src/bin/cargo/commands/tree.rs", "src/cargo/ops/tree/"] [autolabel."Command-uninstall"] trigger_files = ["src/bin/cargo/commands/uninstall.rs", "src/cargo/ops/cargo_uninstall.rs"]