Skip to content

Commit b019528

Browse files
committed
Enable regression labeling aliases
1 parent ebe145e commit b019528

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

triagebot.toml

Lines changed: 12 additions & 4 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?
@@ -741,9 +749,9 @@ zulip_stream = 474880 # #t-compiler/backports
741749
topic = "#{number}: beta-backport nomination"
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?

0 commit comments

Comments
 (0)