Skip to content

Commit 57b6df7

Browse files
authored
improve the FCP completion message. (#256)
1 parent 56c0607 commit 57b6df7

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/github/nag.rs

+10-3
Original file line numberDiff line numberDiff line change
@@ -1186,13 +1186,20 @@ impl<'a> RfcBotComment<'a> {
11861186
Self::add_comment_url(issue, &mut msg, status_comment_id);
11871187
msg.push_str("), is now **complete**.");
11881188

1189+
msg.push_str("\n\nAs the automated representative of the governance process,\
1190+
I would like to thank @");
1191+
msg.push_str(&author.login);
1192+
msg.push_str("for their work and everyone else who contributed.");
1193+
11891194
match disposition {
1190-
FcpDisposition::Merge => {}
1195+
FcpDisposition::Merge => {
1196+
msg.push_str("\n\nThe RFC will be merged soon.");
1197+
}
11911198
FcpDisposition::Close if can_ffcp_close(issue) => {
1192-
msg.push_str("\n\nBy the power vested in me by Rust, I hereby close this RFC.");
1199+
msg.push_str("\n\nThe RFC is now closed.");
11931200
},
11941201
FcpDisposition::Postpone if can_ffcp_postpone(issue) => {
1195-
msg.push_str("\n\nBy the power vested in me by Rust, I hereby postpone this RFC.");
1202+
msg.push_str("\n\nThe RFC is now postponed.");
11961203
},
11971204
_ => {},
11981205
}

0 commit comments

Comments
 (0)