1
1
# This file's format is documented at
2
2
# https://forge.rust-lang.org/triagebot/pr-assignment.html#configuration
3
3
4
+
5
+ # ------------------------------------------------------------------------------
6
+ # Labels
7
+ # ------------------------------------------------------------------------------
8
+
4
9
[relabel ]
5
10
allow-unauthenticated = [
6
11
" A-*" ,
@@ -44,6 +49,11 @@ remove_labels = ["S-waiting-on-author"]
44
49
# Those labels are added when PR author requests a review from an assignee
45
50
add_labels = [" S-waiting-on-review" ]
46
51
52
+
53
+ # ------------------------------------------------------------------------------
54
+ # Ping groups
55
+ # ------------------------------------------------------------------------------
56
+
47
57
[ping .windows ]
48
58
message = """ \
49
59
Hey Windows Group! This bug has been identified as a good "Windows candidate".
@@ -153,6 +163,11 @@ Hi relnotes-interest-group, this issue/PR could use some help in reviewing /
153
163
adjusting release notes. Could you take a look if available? Thanks <3
154
164
"""
155
165
166
+
167
+ # ------------------------------------------------------------------------------
168
+ # Autolabels
169
+ # ------------------------------------------------------------------------------
170
+
156
171
[prioritize ]
157
172
label = " I-prioritize"
158
173
@@ -582,6 +597,11 @@ trigger_files = [
582
597
" compiler/rustc_codegen_llvm" ,
583
598
]
584
599
600
+
601
+ # ------------------------------------------------------------------------------
602
+ # Prioritization and team nominations
603
+ # ------------------------------------------------------------------------------
604
+
585
605
[notify-zulip ."I-prioritize" ]
586
606
zulip_stream = 245100 # #t-compiler/prioritization/alerts
587
607
topic = " #{number} {title}"
@@ -598,6 +618,21 @@ message_on_remove = "Issue #{number}'s prioritization request has been removed."
598
618
message_on_close = " Issue #{number} has been closed while requested for prioritization."
599
619
message_on_reopen = " Issue #{number} has been reopened."
600
620
621
+ [notify-zulip ."I-types-nominated" ]
622
+ zulip_stream = 326866 # #T-types/nominated
623
+ topic = " #{number}: {title}"
624
+ message_on_add = """ \
625
+ @*T-types* issue #{number} "{title}" has been nominated for team discussion.
626
+ """
627
+ message_on_remove = " Issue #{number}'s nomination has been removed. Thanks all for participating!"
628
+ message_on_close = " Issue #{number} has been closed. Thanks for participating!"
629
+ message_on_reopen = " Issue #{number} has been reopened. Pinging @*T-types*."
630
+
631
+
632
+ # ------------------------------------------------------------------------------
633
+ # Zulip notifications
634
+ # ------------------------------------------------------------------------------
635
+
601
636
[notify-zulip ."beta-nominated" .rustdoc ]
602
637
required_labels = [" T-rustdoc" ]
603
638
zulip_stream = 266220 # #t-rustdoc
@@ -661,15 +696,6 @@ message_on_remove = "PR #{number}'s stable-acceptance has been **removed**."
661
696
message_on_close = " PR #{number} has been closed. Thanks for participating!"
662
697
message_on_reopen = " PR #{number} has been reopened. Pinging @*T-rustdoc*."
663
698
664
- [notify-zulip ."I-types-nominated" ]
665
- zulip_stream = 326866 # #T-types/nominated
666
- topic = " #{number}: {title}"
667
- message_on_add = """ \
668
- @*T-types* issue #{number} "{title}" has been nominated for team discussion.
669
- """
670
- message_on_remove = " Issue #{number}'s nomination has been removed. Thanks all for participating!"
671
- message_on_close = " Issue #{number} has been closed. Thanks for participating!"
672
- message_on_reopen = " Issue #{number} has been reopened. Pinging @*T-types*."
673
699
674
700
[notify-zulip ."beta-nominated" .compiler ]
675
701
required_labels = [" T-compiler" ]
@@ -688,6 +714,13 @@ don't know
688
714
]
689
715
message_on_remove = " PR #{number}'s beta-nomination has been removed."
690
716
717
+ [notify-zulip ."beta-accepted" .compiler ]
718
+ required_labels = [" T-compiler" ]
719
+ zulip_stream = 474880 # #t-compiler/backports
720
+ # Put it in the same thread as beta-nominated.
721
+ topic = " #{number}: beta-nominated"
722
+ message_on_add = " PR #{number} has been **accepted** for **beta** backport."
723
+
691
724
[notify-zulip ."stable-nominated" .compiler ]
692
725
required_labels = [" T-compiler" ]
693
726
zulip_stream = 474880 # #t-compiler/backports
@@ -706,6 +739,14 @@ don't know
706
739
]
707
740
message_on_remove = " PR #{number}'s stable-nomination has been removed."
708
741
742
+ [notify-zulip ."stable-accepted" .compiler ]
743
+ required_labels = [" T-compiler" ]
744
+ zulip_stream = 474880 # #t-compiler/backports
745
+ # Put it in the same thread as stable-nominated.
746
+ topic = " #{number}: stable-nominated"
747
+ message_on_add = " PR #{number} has been **accepted** for **stable** backport."
748
+
749
+
709
750
[notify-zulip ."beta-nominated" .bootstrap ]
710
751
required_labels = [" T-bootstrap" ]
711
752
zulip_stream = 507486 # #t-infra/bootstrap/backports
@@ -723,6 +764,13 @@ don't know
723
764
]
724
765
message_on_remove = " PR #{number}'s beta-nomination has been removed."
725
766
767
+ [notify-zulip ."beta-accepted" .bootstrap ]
768
+ required_labels = [" T-bootstrap" ]
769
+ zulip_stream = 507486 # #t-infra/bootstrap/backports
770
+ # Put it in the same thread as beta-nominated.
771
+ topic = " #{number}: beta-nominated"
772
+ message_on_add = " PR #{number} has been **accepted** for **beta** backport."
773
+
726
774
[notify-zulip ."stable-nominated" .bootstrap ]
727
775
required_labels = [" T-bootstrap" ]
728
776
zulip_stream = 507486 # #t-infra/bootstrap/backports
@@ -741,6 +789,14 @@ don't know
741
789
]
742
790
message_on_remove = " PR #{number}'s stable-nomination has been removed."
743
791
792
+ [notify-zulip ."stable-accepted" .bootstrap ]
793
+ required_labels = [" T-bootstrap" ]
794
+ zulip_stream = 507486 # #t-infra/bootstrap/backports
795
+ # Put it in the same thread as stable-nominated.
796
+ topic = " #{number}: stable-nominated"
797
+ message_on_add = " PR #{number} has been **accepted** for **stable** backport."
798
+
799
+
744
800
[notify-zulip ."A-edition-2021" ]
745
801
required_labels = [" C-bug" ]
746
802
zulip_stream = 268952 # #edition
@@ -757,17 +813,10 @@ message_on_add = """\
757
813
Issue #{number} "{title}" has been added.
758
814
"""
759
815
760
- [no-merges ]
761
- exclude_titles = [" Rollup of" , " subtree update" , " Subtree update" ]
762
- labels = [" has-merge-commits" , " S-waiting-on-author" ]
763
-
764
- [github-releases ]
765
- format = " rustc"
766
- project-name = " Rust"
767
- changelog-path = " RELEASES.md"
768
- changelog-branch = " master"
769
816
770
- [shortcut ]
817
+ # ------------------------------------------------------------------------------
818
+ # Mentions
819
+ # ------------------------------------------------------------------------------
771
820
772
821
[mentions ."triagebot .toml" ]
773
822
message = " `triagebot.toml` has been modified, there may have been changes to the review queue."
@@ -1201,6 +1250,11 @@ cc = ["@m-ou-se"]
1201
1250
[mentions ."compiler/rustc_ast_lowering/src/format .rs" ]
1202
1251
cc = [" @m-ou-se" ]
1203
1252
1253
+
1254
+ # ------------------------------------------------------------------------------
1255
+ # PR assignments
1256
+ # ------------------------------------------------------------------------------
1257
+
1204
1258
[assign ]
1205
1259
warn_non_default_branch.enable = true
1206
1260
contributing_url = " https://rustc-dev-guide.rust-lang.org/getting-started.html"
@@ -1442,6 +1496,23 @@ compiletest = [
1442
1496
1443
1497
[pr-tracking ]
1444
1498
1499
+
1500
+ # ------------------------------------------------------------------------------
1501
+ # Misc
1502
+ # ------------------------------------------------------------------------------
1503
+
1504
+ [no-merges ]
1505
+ exclude_titles = [" Rollup of" , " subtree update" , " Subtree update" ]
1506
+ labels = [" has-merge-commits" , " S-waiting-on-author" ]
1507
+
1508
+ [github-releases ]
1509
+ format = " rustc"
1510
+ project-name = " Rust"
1511
+ changelog-path = " RELEASES.md"
1512
+ changelog-branch = " master"
1513
+
1514
+ [shortcut ]
1515
+
1445
1516
# Enable issue transfers within the org
1446
1517
# Documentation at: https://forge.rust-lang.org/triagebot/transfer.html
1447
1518
[transfer ]
0 commit comments