You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
format!("All concerns on the [associated GitHub issue]({}) have been resolved, this proposal is no longer blocked, and will be approved in 10 days if no (new) objections are raised.", event.issue.html_url)
let waiting_period = config.waiting_period.unwrap_or(10);
277
+
278
+
let zulip_msg = if !has_concerns {
279
+
format!(
280
+
"@*{}*: Proposal [#{}]({}) has been seconded, and will be approved in {} days if no objections are raised.",
281
+
config.zulip_ping,
282
+
issue.number,
283
+
event.html_url().unwrap(),
284
+
waiting_period,
285
+
)
286
+
}else{
287
+
format!(
288
+
"@*{}*: Proposal [#{}]({}) has been seconded, but there are unresolved concerns preventing approval, use `@{} resolve concern-name` in the GitHub thread to resolve them.",
"{}: major change ({:?}) as been accepted, remove from the queue",
501
+
"{}: major change ({:?}) as been accepted",
481
502
self.name(),
482
503
&major_change,
483
504
);
@@ -556,7 +577,14 @@ async fn process_seconded(
556
577
issue
557
578
.post_comment(
558
579
&ctx.github,
559
-
"The final comment period is now complete, this major change is now accepted.\n\nAs the automated representative, I would like to thank the author for their work and everyone else who contributed to this major change proposal."
580
+
&*format!(
581
+
"The final comment period is now complete, this major change is now **accepted**.\
582
+
\
583
+
As the automated representative, I would like to thank the author for their work and everyone else who contributed to this major change proposal.\
584
+
\
585
+
*If you think this major change shouldn't have been accepted, feel free to remove the `{}` label and reopen this issue.*",
586
+
&config.accept_label,
587
+
),
560
588
)
561
589
.await
562
590
.context("unable to post the acceptance comment")?;
0 commit comments