Skip to content

Commit 155eadf

Browse files
authored
Rollup merge of #143841 - jieyouxu:clippy-autolabel, r=fmease
Label clippy changes with `T-clippy` - Commits {1,2} are just drive-by housekeeping, no functional changes. - Commit 3 adds an autolabel for `src/tools/clippy` to be labelled with https://github.com/rust-lang/rust/labels/T-clippy. r? `@apiraino` (or clippy, or anyone really)
2 parents bb330bb + 977e7d4 commit 155eadf

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

triagebot.toml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,19 @@ adjusting release notes. Could you take a look if available? Thanks <3
171171
[prioritize]
172172
label = "I-prioritize"
173173

174+
[autolabel."S-waiting-on-review"]
175+
new_pr = true
176+
177+
[autolabel."S-waiting-on-author"]
178+
new_draft = true
179+
180+
[autolabel."needs-triage"]
181+
new_issue = true
182+
exclude_labels = [
183+
"C-tracking-issue",
184+
"A-diagnostics",
185+
]
186+
174187
[autolabel."I-prioritize"]
175188
trigger_labels = [
176189
"regression-untriaged",
@@ -216,7 +229,6 @@ trigger_files = [
216229
exclude_labels = [
217230
"T-*",
218231
]
219-
220232
trigger_labels = [
221233
"A-rustdoc-json",
222234
"A-rustdoc-type-layout",
@@ -265,7 +277,6 @@ trigger_labels = [
265277
"A-rustdoc-ui",
266278
"A-rustdoc-js",
267279
]
268-
269280
trigger_files = [
270281
"src/librustdoc/html/",
271282
"tests/rustdoc/",
@@ -281,7 +292,6 @@ trigger_files = [
281292
"tests/rustdoc-js/",
282293
"tests/rustdoc-js-std",
283294
]
284-
285295
trigger_labels = [
286296
"A-type-based-search",
287297
]
@@ -311,20 +321,17 @@ trigger_files = [
311321
exclude_labels = [
312322
"T-*",
313323
]
314-
315324
trigger_labels = [
316325
"D-*",
317326
"A-diagnostics",
318327
]
319328

320329
[autolabel."A-diagnostics"]
321-
322330
trigger_labels = [
323331
"D-*",
324332
]
325333

326334
[autolabel."A-lints"]
327-
328335
trigger_labels = [
329336
"L-*",
330337
]
@@ -532,19 +539,6 @@ trigger_files = [
532539
"src/version"
533540
]
534541

535-
[autolabel."S-waiting-on-review"]
536-
new_pr = true
537-
538-
[autolabel."S-waiting-on-author"]
539-
new_draft = true
540-
541-
[autolabel."needs-triage"]
542-
new_issue = true
543-
exclude_labels = [
544-
"C-tracking-issue",
545-
"A-diagnostics",
546-
]
547-
548542
[autolabel."WG-trait-system-refactor"]
549543
trigger_files = [
550544
"compiler/rustc_next_trait_solver",
@@ -600,6 +594,10 @@ trigger_files = [
600594
"compiler/rustc_codegen_llvm",
601595
]
602596

597+
[autolabel."T-clippy"]
598+
trigger_files = [
599+
"src/tools/clippy",
600+
]
603601

604602
# ------------------------------------------------------------------------------
605603
# Prioritization and team nominations

0 commit comments

Comments
 (0)