From 2a5a1a89d354ed6f660e63fb95c86ffe9e3676f3 Mon Sep 17 00:00:00 2001 From: Zephaniah Ong Date: Tue, 14 Feb 2023 13:56:19 +0800 Subject: [PATCH 1/2] add message to update Cargo.toml when x is changed --- triagebot.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/triagebot.toml b/triagebot.toml index 62a99b704388f..8d7e237e44d81 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -468,6 +468,9 @@ This was probably unintentional and should be reverted before this PR is merged. If this was intentional then you can ignore this comment. """ +[mentions."src/tools/x/src/main.rs"] +message = "`src/tools/x/src/main.rs` was changed. Bump version of Cargo.toml in `src/tools/x` ." + [assign] warn_non_default_branch = true contributing_url = "https://rustc-dev-guide.rust-lang.org/contributing.html" From 70fd729e7eac7f3801a29e6e00dafd04516d63e7 Mon Sep 17 00:00:00 2001 From: Zephaniah Ong Date: Tue, 14 Feb 2023 14:25:46 +0800 Subject: [PATCH 2/2] change file path and improve message --- triagebot.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/triagebot.toml b/triagebot.toml index 8d7e237e44d81..883bc8720e2be 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -468,8 +468,8 @@ This was probably unintentional and should be reverted before this PR is merged. If this was intentional then you can ignore this comment. """ -[mentions."src/tools/x/src/main.rs"] -message = "`src/tools/x/src/main.rs` was changed. Bump version of Cargo.toml in `src/tools/x` ." +[mentions."src/tools/x"] +message = "`src/tools/x` was changed. Bump version of Cargo.toml in `src/tools/x` so tidy will suggest installing the new version." [assign] warn_non_default_branch = true