]> git.lizzy.rs Git - rust.git/blob - triagebot.toml
Refactor if-available setting to work in CI
[rust.git] / triagebot.toml
1 [relabel]
2 allow-unauthenticated = [
3     "A-*",
4     "C-*",
5     "D-*",
6     "E-*",
7     "F-*",
8     "I-*",
9     "NLL-*",
10     "O-*",
11     "S-*",
12     "T-*",
13     "WG-*",
14     "needs-fcp",
15     "relnotes",
16     "requires-nightly",
17     "regression-*",
18     "perf-*",
19     "AsyncAwait-OnDeck",
20 ]
21
22 [assign]
23
24 [glacier]
25
26 [ping.icebreakers-llvm]
27 alias = ["llvm", "llvms"]
28 message = """\
29 Hey LLVM ICE-breakers! This bug has been identified as a good
30 "LLVM ICE-breaking candidate". In case it's useful, here are some
31 [instructions] for tackling these sorts of bugs. Maybe take a look?
32 Thanks! <3
33
34 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/llvm.html
35 """
36 label = "ICEBreaker-LLVM"
37
38 [ping.icebreakers-cleanup-crew]
39 alias = ["cleanup", "cleanups", "cleanup-crew", "shrink", "reduce", "bisect"]
40 message = """\
41 Hey Cleanup Crew ICE-breakers! This bug has been identified as a good
42 "Cleanup ICE-breaking candidate". In case it's useful, here are some
43 [instructions] for tackling these sorts of bugs. Maybe take a look?
44 Thanks! <3
45
46 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/cleanup-crew.html
47 """
48 label = "ICEBreaker-Cleanup-Crew"
49
50 [ping.windows]
51 message = """\
52 Hey Windows Group! This bug has been identified as a good "Windows candidate".
53 In case it's useful, here are some [instructions] for tackling these sorts of
54 bugs. Maybe take a look?
55 Thanks! <3
56
57 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/windows.html
58 """
59 label = "O-windows"
60
61 [ping.arm]
62 message = """\
63 Hey ARM Group! This bug has been identified as a good "ARM candidate".
64 In case it's useful, here are some [instructions] for tackling these sorts of
65 bugs. Maybe take a look?
66 Thanks! <3
67
68 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/arm.html
69 """
70 label = "O-ARM"
71
72 [ping.risc-v]
73 message = """\
74 Hey RISC-V Group! This bug has been identified as a good "RISC-V candidate".
75 In case it's useful, here are some [instructions] for tackling these sorts of
76 bugs. Maybe take a look?
77 Thanks! <3
78
79 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/risc-v.html
80 """
81 label = "O-riscv"
82
83 [ping.fuchsia]
84 message = """\
85 Hey friends of Fuchsia! This issue could use some guidance on how this should be
86 resolved/implemented on Fuchsia. Could one of you weigh in?
87 """
88 label = "O-fuchsia"
89
90 [ping.macos]
91 message = """\
92 Hey MacOS Group! This issue or PR could use some MacOS-specific guidance. Could one
93 of you weigh in? Thanks <3
94 """
95 label = "O-macos"
96
97 [prioritize]
98 label = "I-prioritize"
99
100 [autolabel."I-prioritize"]
101 trigger_labels = [
102     "regression-untriaged",
103     "regression-from-stable-to-stable",
104     "regression-from-stable-to-beta",
105     "regression-from-stable-to-nightly",
106     "I-unsound",
107 ]
108 exclude_labels = [
109     "P-*",
110     "T-infra",
111     "T-release",
112     "requires-nightly",
113 ]
114
115 [autolabel."T-rustdoc"]
116 trigger_files = [
117     # Source code
118     "src/librustdoc",
119     "src/tools/rustdoc",
120     "src/rustdoc-json-types",
121
122     # Tests
123     "src/test/rustdoc",
124     "src/test/rustdoc-ui",
125     "src/test/rustdoc-gui",
126     "src/test/rustdoc-js",
127     "src/test/rustdoc-js-std",
128     "src/test/rustdoc-json",
129
130     # Internal tooling
131     "src/etc/htmldocck.py",
132     "src/tools/jsondocck",
133     "src/tools/rustdoc-gui",
134     "src/tools/rustdoc-js",
135     "src/tools/rustdoc-themes",
136 ]
137 exclude_labels = [
138     "T-*",
139 ]
140
141 [autolabel."T-compiler"]
142 trigger_files = [
143     # Source code
144     "compiler",
145
146     # Tests
147     "src/test/ui",
148 ]
149 exclude_labels = [
150     "T-*",
151 ]
152
153 [autolabel."T-libs"]
154 trigger_files = [
155     "library/alloc",
156     "library/core",
157     "library/panic_abort",
158     "library/panic_unwind",
159     "library/std",
160     "library/stdarch",
161     "library/term",
162     "library/test",
163 ]
164 exclude_labels = [
165     "T-*",
166 ]
167
168 [autolabel."A-bootstrap"]
169 trigger_files = [
170     "x.py",
171     "src/bootstrap",
172     "src/tools/rust-installer",
173 ]
174
175 [autolabel."T-infra"]
176 trigger_files = [
177     "src/ci",
178     "src/tools/bump-stage0",
179 ]
180
181 [autolabel."A-translation"]
182 trigger_files = [
183     "compiler/rustc_error_messages",
184     "compiler/rustc_errors/src/translation.rs",
185     "compiler/rustc_macros/src/diagnostics"
186 ]
187
188 [notify-zulip."I-prioritize"]
189 zulip_stream = 245100 # #t-compiler/wg-prioritization/alerts
190 topic = "#{number} {title}"
191 message_on_add = """\
192 @*WG-prioritization/alerts* issue #{number} has been requested for prioritization.
193
194 # [Procedure](https://forge.rust-lang.org/compiler/prioritization/procedure.html#assign-priority-to-unprioritized-issues-with-i-prioritize-label)
195 - Priority?
196 - Regression?
197 - Notify people/groups?
198 - Needs `I-nominated`?
199 """
200 message_on_remove = "Issue #{number}'s prioritization request has been removed."
201 message_on_close = "Issue #{number} has been closed while requested for prioritization."
202 message_on_reopen = "Issue #{number} has been reopened."
203
204 [notify-zulip."T-rustdoc"]
205 required_labels = ["I-nominated"]
206 zulip_stream = 266220 # #rustdoc
207 topic = "nominated: #{number}"
208 message_on_add = """\
209 @*T-rustdoc* issue #{number} "{title}" has been nominated for `T-rustdoc` discussion.
210 """
211 message_on_remove = "Issue #{number}'s nomination request has been removed."
212
213 [notify-zulip."I-types-nominated"]
214 zulip_stream = 326866 # #T-types/nominated
215 topic = "#{number}: {title}"
216 message_on_add = """\
217 @*T-types* issue #{number} "{title}" has been nominated for team discussion.
218 """
219 message_on_remove = "Issue #{number}'s nomination has been removed. Thanks all for participating!"
220 message_on_close = "Issue #{number} has been closed. Thanks for participating!"
221 message_on_reopen = "Issue #{number} has been reopened. Pinging @*T-types*."
222
223 [notify-zulip."A-edition-2021"]
224 required_labels = ["C-bug"]
225 zulip_stream = 268952 # #edition 2021
226 topic = "Edition Bugs"
227 message_on_add = """\
228 Issue #{number} "{title}" has been added.
229 """
230
231 [github-releases]
232 format = "rustc"
233 project-name = "Rust"
234 changelog-path = "RELEASES.md"
235 changelog-branch = "master"
236
237 [shortcut]
238
239
240 [mentions."compiler/rustc_apfloat"]
241 message = """
242 Changes rustc_apfloat. rustc_apfloat is currently in limbo and you almost \
243 certainly don't want to change it (see #55993).
244 """
245 cc = ["@eddyb"]
246
247 [mentions."compiler/rustc_codegen_cranelift"]
248 cc = ["@bjorn3"]
249
250 [mentions."compiler/rustc_codegen_gcc"]
251 cc = ["@antoyo"]
252
253 [mentions."compiler/rustc_const_eval/src/interpret"]
254 message = "Some changes occurred to the CTFE / Miri engine"
255 cc = ["@rust-lang/miri"]
256
257 [mentions."compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs"]
258 message = "Some changes occurred in need_type_info.rs"
259 cc = ["@lcnr"]
260
261 [mentions."compiler/rustc_middle/src/mir/interpret"]
262 message = "Some changes occurred to the CTFE / Miri engine"
263 cc = ["@rust-lang/miri"]
264
265 [mentions."compiler/rustc_mir_transform/src/"]
266 message = "Some changes occurred to MIR optimizations"
267 cc = ["@rust-lang/wg-mir-opt"]
268
269 [mentions."compiler/rustc_trait_selection/src/traits/const_evaluatable.rs"]
270 message = "Some changes occurred in const_evaluatable.rs"
271 cc = ["@lcnr"]
272
273 [mentions."compiler/rustc_error_codes/src/error_codes.rs"]
274 message = "Some changes occurred in diagnostic error codes"
275 cc = ["@GuillaumeGomez"]
276
277 [mentions."library"]
278 message = """
279 Hey! It looks like you've submitted a new PR for the library teams!
280
281 If this PR contains changes to any `rust-lang/rust` public library APIs then \
282 please comment with `@rustbot label +T-libs-api -T-libs` to tag it \
283 appropriately. If this PR contains changes to any unstable APIs please edit \
284 the PR description to add a link to the relevant [API Change \
285 Proposal](https://std-dev-guide.rust-lang.org/feature-lifecycle/api-change-proposals.html) \
286 or [create one](https://github.com/rust-lang/libs-team/issues/new?assignees=&labels=api-change-proposal%2C+T-libs-api&template=api-change-proposal.md&title=%28My+API+Change+Proposal%29) \
287 if you haven't already. If you're unsure where your change falls no worries, \
288 just leave it as is and the reviewer will take a look and make a decision to \
289 forward on if necessary.
290
291 Examples of `T-libs-api` changes:
292
293 * Stabilizing library features
294 * Introducing insta-stable changes such as new implementations of existing \
295   stable traits on existing stable types
296 * Introducing new or changing existing unstable library APIs (excluding \
297   permanently unstable features / features without a tracking issue)
298 * Changing public documentation in ways that create new stability guarantees
299 * Changing observable runtime behavior of library APIs
300 """
301
302 [mentions."library/proc_macro/src/bridge"]
303 cc = ["@rust-lang/wg-rls-2"]
304
305 [mentions."src/librustdoc/clean/types.rs"]
306 cc = ["@camelid"]
307
308 [mentions."src/librustdoc/html/static"]
309 message = "Some changes occurred in HTML/CSS/JS."
310 cc = [
311     "@GuillaumeGomez",
312     "@Folyd",
313     "@jsha",
314 ]
315
316 [mentions."src/librustdoc/html/static/css/themes"]
317 message = "Some changes occurred in HTML/CSS themes."
318 cc = ["@GuillaumeGomez"]
319
320 [mentions."src/librustdoc/html/static/css/themes/ayu.css"]
321 message = "A change occurred in the Ayu theme."
322 cc = ["@Cldfire"]
323
324 [mentions."src/rustdoc-json-types"]
325 message = """
326 rustdoc-json-types is a **public** (although nightly-only) API. \
327 If possible, consider changing `src/librustdoc/json/conversions.rs`; \
328 otherwise, make sure you bump the `FORMAT_VERSION` constant.
329 """
330 cc = [
331     "@CraftSpider",
332     "@aDotInTheVoid",
333     "@Enselic",
334 ]
335
336 [mentions."src/tools/cargo"]
337 cc = ["@ehuss"]
338
339 [mentions."src/tools/clippy"]
340 cc = ["@rust-lang/clippy"]
341
342 [mentions."src/tools/miri"]
343 message = "The Miri submodule was changed"
344 cc = ["@rust-lang/miri"]
345
346 [mentions."src/tools/rustfmt"]
347 cc = ["@rust-lang/rustfmt"]
348
349 [mentions."compiler/rustc_middle/src/mir/syntax.rs"]
350 message = "This PR changes MIR"
351 cc = ["@oli-obk", "@RalfJung", "@JakobDegen", "@davidtwco", "@celinval", "@vakaras"]
352
353 [mentions."compiler/rustc_error_messages"]
354 message = "`rustc_error_messages` was changed"
355 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank"]
356
357 [mentions."compiler/rustc_errors/src/translation.rs"]
358 message = "`rustc_errors::translation` was changed"
359 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank"]
360
361 [mentions."compiler/rustc_macros/src/diagnostics"]
362 message = "`rustc_macros::diagnostics` was changed"
363 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank"]