Skip to content

Commit 5c79a78

Browse files
Merge pull request #1684 from apiraino/add-detail-to-contributing-pr
Add detail to PR welcome msg
2 parents 4c166fa + a55c41a commit 5c79a78

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/handlers/assign.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,13 @@ mod tests {
4141
const NEW_USER_WELCOME_MESSAGE: &str = "Thanks for the pull request, and welcome! \
4242
The Rust team is excited to review your changes, and you should hear from {who} soon.";
4343

44-
const CONTRIBUTION_MESSAGE: &str = "\
45-
Please see [the contribution instructions]({contributing_url}) for more information.";
44+
const CONTRIBUTION_MESSAGE: &str = "Please see [the contribution
45+
instructions]({contributing_url}) for more information. Namely, in order to ensure the
46+
minimum review times lag, PR authors and assigned reviewers should ensure that the review
47+
label (`S-waiting-on-review` and `S-waiting-on-author`) stays updated, invoking these commands \
48+
when appropriate:\n \
49+
`@rustbot author`: the review is finished, PR author should check the comments and take action accordingly \
50+
`@rustbot review`: the author is ready for a review, this PR will be queued again in the reviewer's queue";
4651

4752
const WELCOME_WITH_REVIEWER: &str = "@{assignee} (or someone else)";
4853

0 commit comments

Comments
 (0)