From 04e3b2e5f6f108971a90bd1fe55efe580cc8306a Mon Sep 17 00:00:00 2001 From: Peter Jaszkowiak Date: Mon, 11 Sep 2023 09:24:54 -0600 Subject: [PATCH] add subtree-sync label to rustc update PRs --- src/tools/miri/miri-script/src/commands.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/tools/miri/miri-script/src/commands.rs b/src/tools/miri/miri-script/src/commands.rs index e7a5b55919521..124acc950986a 100644 --- a/src/tools/miri/miri-script/src/commands.rs +++ b/src/tools/miri/miri-script/src/commands.rs @@ -338,7 +338,11 @@ impl Command { println!( "Confirmed that the push round-trips back to Miri properly. Please create a rustc PR:" ); - println!(" https://github.com/{github_user}/rust/pull/new/{branch}"); + println!( + // Open PR with `subtree-sync` label to satisfy the `no-merges` triagebot check + // See https://github.com/rust-lang/rust/pull/114157 + " https://github.com/rust-lang/rust/compare/{github_user}:{branch}?quick_pull=1&labels=subtree-sync" + ); drop(josh); Ok(())