Skip to content

Commit 31aa5c9

Browse files
committed
triagebot: configure PR welcome message for no auto/explicit reviewer
1 parent 1d8f15e commit 31aa5c9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

triagebot.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,22 @@ days-threshold = 7
7272
# Documentation at: https://forge.rust-lang.org/triagebot/pr-assignment.html
7373
[assign]
7474

75+
# NOTE: do not add `[assign.owners]` if we still wish to keep the opt-in
76+
# reviewer model, as `[assign.owners]` will cause triagebot auto-reviewer
77+
# assignment to kick in.
78+
79+
# Custom PR welcome message for when no auto reviewer assignment is performed
80+
# and no explicit manual reviewer selection is made.
81+
# Documentation at: https://forge.rust-lang.org/triagebot/pr-assignment.html#custom-welcome-messages
82+
[assign.custom_welcome_messages]
83+
welcome-message-no-reviewer = """\
84+
Thanks for the PR. If you have write access, feel free to merge this PR if it
85+
does not need reviews. You can request a review using `r? rustc-dev-guide` or
86+
`r? <username>`.
87+
"""
88+
89+
# Groups for `r? <group>`.
90+
# Documentation at: https://forge.rust-lang.org/triagebot/pr-assignment.html#usage
7591
# Keep members alphanumerically sorted.
7692
[assign.adhoc_groups]
7793
rustc-dev-guide = [

0 commit comments

Comments
 (0)