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" ]
@@ -706,6 +732,7 @@ don't know
706
732
]
707
733
message_on_remove = " PR #{number}'s stable-nomination has been removed."
708
734
735
+
709
736
[notify-zulip ."beta-nominated" .bootstrap ]
710
737
required_labels = [" T-bootstrap" ]
711
738
zulip_stream = 507486 # #t-infra/bootstrap/backports
@@ -741,6 +768,7 @@ don't know
741
768
]
742
769
message_on_remove = " PR #{number}'s stable-nomination has been removed."
743
770
771
+
744
772
[notify-zulip ."A-edition-2021" ]
745
773
required_labels = [" C-bug" ]
746
774
zulip_stream = 268952 # #edition
@@ -757,17 +785,10 @@ message_on_add = """\
757
785
Issue #{number} "{title}" has been added.
758
786
"""
759
787
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
788
770
- [shortcut ]
789
+ # ------------------------------------------------------------------------------
790
+ # Mentions
791
+ # ------------------------------------------------------------------------------
771
792
772
793
[mentions ."triagebot .toml" ]
773
794
message = " `triagebot.toml` has been modified, there may have been changes to the review queue."
@@ -1201,6 +1222,11 @@ cc = ["@m-ou-se"]
1201
1222
[mentions ."compiler/rustc_ast_lowering/src/format .rs" ]
1202
1223
cc = [" @m-ou-se" ]
1203
1224
1225
+
1226
+ # ------------------------------------------------------------------------------
1227
+ # PR assignments
1228
+ # ------------------------------------------------------------------------------
1229
+
1204
1230
[assign ]
1205
1231
warn_non_default_branch.enable = true
1206
1232
contributing_url = " https://rustc-dev-guide.rust-lang.org/getting-started.html"
@@ -1442,6 +1468,23 @@ compiletest = [
1442
1468
1443
1469
[pr-tracking ]
1444
1470
1471
+
1472
+ # ------------------------------------------------------------------------------
1473
+ # Misc
1474
+ # ------------------------------------------------------------------------------
1475
+
1476
+ [no-merges ]
1477
+ exclude_titles = [" Rollup of" , " subtree update" , " Subtree update" ]
1478
+ labels = [" has-merge-commits" , " S-waiting-on-author" ]
1479
+
1480
+ [github-releases ]
1481
+ format = " rustc"
1482
+ project-name = " Rust"
1483
+ changelog-path = " RELEASES.md"
1484
+ changelog-branch = " master"
1485
+
1486
+ [shortcut ]
1487
+
1445
1488
# Enable issue transfers within the org
1446
1489
# Documentation at: https://forge.rust-lang.org/triagebot/transfer.html
1447
1490
[transfer ]
0 commit comments