Skip to content

Commit ec045f6

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

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

triagebot.toml

+42
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,48 @@ 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 and short links inside
425+
# the title of a poll don't recognized. Therefore we need to send two messages.
426+
message_on_add = [
427+
"""\
428+
@*T-rustdoc* PR #{number} "{title}" has been nominated for beta backport.
429+
""",
430+
"""\
431+
/poll Approve beta backport of #{number}?
432+
approve
433+
decline
434+
don't know
435+
""",
436+
]
437+
message_on_remove = "PR #{number}'s beta-nomination has been removed."
438+
message_on_close = "PR #{number} has been closed. Thanks for participating!"
439+
message_on_reopen = "PR #{number} has been reopened. Pinging @*T-rustdoc*."
440+
441+
[notify-zulip."stable-nominated"]
442+
required_labels = ["T-rustdoc"]
443+
zulip_stream = 266220 # #t-rustdoc
444+
topic = "stable-nominated: #{number}"
445+
# Zulip polls may not be preceded by any other text and pings and short links inside
446+
# the title of a poll don't recognized. Therefore we need to send two messages.
447+
message_on_add = [
448+
"""\
449+
@*T-rustdoc* PR #{number} "{title}" has been nominated for stable backport.
450+
""",
451+
"""\
452+
/poll Approve stable backport of #{number}?
453+
approve
454+
decline
455+
don't know
456+
""",
457+
]
458+
message_on_remove = "PR #{number}'s stable-nomination has been removed."
459+
message_on_close = "PR #{number} has been closed. Thanks for participating!"
460+
message_on_reopen = "PR #{number} has been reopened. Pinging @*T-rustdoc*."
461+
420462
[notify-zulip."I-types-nominated"]
421463
zulip_stream = 326866 # #T-types/nominated
422464
topic = "#{number}: {title}"

0 commit comments

Comments
 (0)