Skip to content

Commit 107efc4

Browse files
committed
Enable regression labeling aliases
1 parent ebe145e commit 107efc4

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

triagebot.toml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ allow-unauthenticated = [
3838
"has-merge-commits",
3939
]
4040

41+
[relabel.to-stable]
42+
add-labels = ["regression-from-stable-to-stable"]
43+
rem-labels = ["regression-from-stable-to-beta", "regression-from-stable-to-nightly"]
44+
45+
[relabel.to-beta]
46+
add-labels = ["regression-from-stable-to-beta"]
47+
rem-labels = ["regression-from-stable-to-stable", "regression-from-stable-to-nightly"]
48+
4149
[review-submitted]
4250
# This label is added when a "request changes" review is submitted.
4351
reviewed_label = "S-waiting-on-author"
@@ -644,7 +652,7 @@ trigger_files = [
644652
zulip_stream = 245100 # #t-compiler/prioritization/alerts
645653
topic = "#{number} {title}"
646654
message_on_add = """\
647-
@*WG-prioritization/alerts* issue #{number} has been requested for prioritization.
655+
Issue #{number} has been requested for prioritization.
648656
649657
# [Procedure](https://forge.rust-lang.org/compiler/prioritization.html)
650658
- Priority?
@@ -738,12 +746,12 @@ message_on_reopen = "PR #{number} has been reopened. Pinging @*T-rustdoc*."
738746
[notify-zulip."beta-nominated".compiler]
739747
required_labels = ["T-compiler"]
740748
zulip_stream = 474880 # #t-compiler/backports
741-
topic = "#{number}: beta-backport nomination"
749+
topic = "#{number}: beta-nominated"
742750
message_on_add = [
743751
"""\
744-
PR #{number} "{title}" fixes a regression.
745-
{recipients}, please evaluate nominating this PR for backport.
746-
The following poll is a vibe-check and not binding.
752+
PR #{number} "{title}" fixes a regression and has been nominated for backport.
753+
{recipients}, what do you think about it?
754+
This topic will help T-compiler getting context about it.
747755
""",
748756
"""\
749757
/poll Should #{number} be beta backported?
@@ -757,7 +765,7 @@ message_on_remove = "PR #{number}'s beta-nomination has been removed."
757765
[notify-zulip."beta-accepted".compiler]
758766
required_labels = ["T-compiler"]
759767
zulip_stream = 474880 # #t-compiler/backports
760-
# Put it in the same thread as beta-nominated.
768+
# Put it in the same topic as beta-nominated.
761769
topic = "#{number}: beta-nominated"
762770
message_on_add = "PR #{number} has been **accepted** for **beta** backport."
763771

0 commit comments

Comments
 (0)