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.",
"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."
589
+
&*format!(
590
+
"The final comment period is now complete, this major change is now **accepted**.\
591
+
\
592
+
As the automated representative, I would like to thank the author for their work and everyone else who contributed to this major change proposal.\
593
+
\
594
+
*If you think this major change shouldn't have been accepted, feel free to remove the `{}` label and reopen this issue.*",
595
+
&config.accept_label,
596
+
),
560
597
)
561
598
.await
562
599
.context("unable to post the acceptance comment")?;
0 commit comments