about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJieyou Xu <jieyouxu@outlook.com>2025-06-03 20:01:36 +0800
committerJieyou Xu <jieyouxu@outlook.com>2025-06-03 20:05:19 +0800
commitffb93c6a6025263030cd7eaba9161b9814c59255 (patch)
tree61ea46211a5895f51ec30db95625baedd94e00d6
parent10f2bcc95738423fbdf01ce3bb00e4092102c438 (diff)
downloadrust-ffb93c6a6025263030cd7eaba9161b9814c59255.tar.gz
rust-ffb93c6a6025263030cd7eaba9161b9814c59255.zip
triagebot: configure PR welcome message for no auto/explicit reviewer
-rw-r--r--src/doc/rustc-dev-guide/triagebot.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/triagebot.toml b/src/doc/rustc-dev-guide/triagebot.toml
index 978802edf3f..ca6fa9f5fa5 100644
--- a/src/doc/rustc-dev-guide/triagebot.toml
+++ b/src/doc/rustc-dev-guide/triagebot.toml
@@ -72,6 +72,23 @@ days-threshold = 7
 # Documentation at: https://forge.rust-lang.org/triagebot/pr-assignment.html
 [assign]
 
+# NOTE: do not add `[assign.owners]` if we still wish to keep the opt-in
+# reviewer model, as `[assign.owners]` will cause triagebot auto-reviewer
+# assignment to kick in.
+
+# Custom PR welcome message for when no auto reviewer assignment is performed
+# and no explicit manual reviewer selection is made.
+# Documentation at: https://forge.rust-lang.org/triagebot/pr-assignment.html#custom-welcome-messages
+[assign.custom_welcome_messages]
+welcome-message = ""
+welcome-message-no-reviewer = """\
+Thanks for the PR. If you have write access, feel free to merge this PR if it
+does not need reviews. You can request a review using `r? rustc-dev-guide` or
+`r? <username>`.
+"""
+
+# Groups for `r? <group>`.
+# Documentation at: https://forge.rust-lang.org/triagebot/pr-assignment.html#usage
 # Keep members alphanumerically sorted.
 [assign.adhoc_groups]
 rustc-dev-guide = [