Skip to content

Commit 75123db

Browse files
committed
meta: notify #t-rustdoc Zulip stream on backport nominations
1 parent 7bdae13 commit 75123db

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

triagebot.toml

+40
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,46 @@ message_on_remove = "Issue #{number}'s prioritization request has been removed."
417417
message_on_close = "Issue #{number} has been closed while requested for prioritization."
418418
message_on_reopen = "Issue #{number} has been reopened."
419419

420+
[notify-zulip."beta-nominated"]
421+
required_labels = ["T-rustdoc"]
422+
zulip_stream = 266220 # #t-rustdoc
423+
topic = "beta-nominated: #{number}"
424+
# Zulip polls may not be preceded by any other text and pings inside the poll question don't recognized. Therefore we need to send two messages.
425+
message_on_add = [
426+
"""\
427+
@*T-rustdoc* PR #{number} "{title}" has been nominated for beta backport.
428+
""",
429+
"""\
430+
/poll Approve beta backport of #{number}?
431+
approve
432+
decline
433+
don't know
434+
""",
435+
]
436+
message_on_remove = "PR #{number}'s beta-nomination has been removed."
437+
message_on_close = "PR #{number} has been closed. Thanks for participating!"
438+
message_on_reopen = "PR #{number} has been reopened. Pinging @*T-rustdoc*."
439+
440+
[notify-zulip."stable-nominated"]
441+
required_labels = ["T-rustdoc"]
442+
zulip_stream = 266220 # #t-rustdoc
443+
topic = "stable-nominated: #{number}"
444+
# Zulip polls may not be preceded by any other text and pings inside the poll question don't recognized. Therefore we need to send two messages.
445+
message_on_add = [
446+
"""\
447+
@*T-rustdoc* PR #{number} "{title}" has been nominated for stable backport.
448+
""",
449+
"""\
450+
/poll Approve stable backport of #{number}?
451+
approve
452+
decline
453+
don't know
454+
""",
455+
]
456+
message_on_remove = "PR #{number}'s stable-nomination has been removed."
457+
message_on_close = "PR #{number} has been closed. Thanks for participating!"
458+
message_on_reopen = "PR #{number} has been reopened. Pinging @*T-rustdoc*."
459+
420460
[notify-zulip."I-types-nominated"]
421461
zulip_stream = 326866 # #T-types/nominated
422462
topic = "#{number}: {title}"

0 commit comments

Comments
 (0)