From 178ddb743ecc76459b4db02863ac21e66beda632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Fri, 4 Jul 2025 13:19:01 +0200 Subject: [PATCH] Make `gh` PR creation prompt more accurate "rustc pull PR" might sound like it will create a PR towards rust-lang/rust, but that's not what happens. --- src/bin/rustc_josh_sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/rustc_josh_sync.rs b/src/bin/rustc_josh_sync.rs index ef8c3d5..ce3ec00 100644 --- a/src/bin/rustc_josh_sync.rs +++ b/src/bin/rustc_josh_sync.rs @@ -152,7 +152,7 @@ fn load_context(config_path: &Path, rust_version_path: &Path) -> anyhow::Result< fn maybe_create_gh_pr(repo: &str, title: &str, description: &str) -> anyhow::Result { if which::which("gh").is_ok() && prompt( - "Do you want to create a rustc pull PR using the `gh` tool?", + &format!("Do you want to create a {repo} pull PR using the `gh` tool?"), false, ) {