@@ -417,6 +417,54 @@ message_on_remove = "Issue #{number}'s prioritization request has been removed."
417417message_on_close = " Issue #{number} has been closed while requested for prioritization."
418418message_on_reopen = " Issue #{number} has been reopened."
419419
420+ # FIXME: Patch triagebot to support `notify-zulip.<label>` getting mapped to an array of actions.
421+ # At the moment, the beta-nominated+T-rustdoc action fully occupies the beta-nominated slot
422+ # preventing others from adding more beta-nominated actions.
423+ [notify-zulip ."beta-nominated" ]
424+ required_labels = [" T-rustdoc" ]
425+ zulip_stream = 266220 # #t-rustdoc
426+ topic = " beta-nominated: #{number}"
427+ # Zulip polls may not be preceded by any other text and pings & short links inside
428+ # the title of a poll don't get recognized. Therefore we need to send two messages.
429+ message_on_add = [
430+ """ \
431+ @*T-rustdoc* PR #{number} "{title}" has been nominated for beta backport.
432+ """ ,
433+ """ \
434+ /poll Approve beta backport of #{number}?
435+ approve
436+ decline
437+ don't know
438+ """ ,
439+ ]
440+ message_on_remove = " PR #{number}'s beta-nomination has been removed."
441+ message_on_close = " PR #{number} has been closed. Thanks for participating!"
442+ message_on_reopen = " PR #{number} has been reopened. Pinging @*T-rustdoc*."
443+
444+ # FIXME: Patch triagebot to support `notify-zulip.<label>` getting mapped to an array of actions.
445+ # At the moment, the stable-nominated+T-rustdoc action fully occupies the stable-nominated slot
446+ # preventing others from adding more stable-nominated actions.
447+ [notify-zulip ."stable-nominated" ]
448+ required_labels = [" T-rustdoc" ]
449+ zulip_stream = 266220 # #t-rustdoc
450+ topic = " stable-nominated: #{number}"
451+ # Zulip polls may not be preceded by any other text and pings & short links inside
452+ # the title of a poll don't get recognized. Therefore we need to send two messages.
453+ message_on_add = [
454+ """ \
455+ @*T-rustdoc* PR #{number} "{title}" has been nominated for stable backport.
456+ """ ,
457+ """ \
458+ /poll Approve stable backport of #{number}?
459+ approve
460+ decline
461+ don't know
462+ """ ,
463+ ]
464+ message_on_remove = " PR #{number}'s stable-nomination has been removed."
465+ message_on_close = " PR #{number} has been closed. Thanks for participating!"
466+ message_on_reopen = " PR #{number} has been reopened. Pinging @*T-rustdoc*."
467+
420468[notify-zulip ."I-types-nominated" ]
421469zulip_stream = 326866 # #T-types/nominated
422470topic = " #{number}: {title}"
0 commit comments