Skip to content

Commit 17ad8b5

Browse files
Rollup merge of #133312 - lolbinarycat:triagebot-rustdoc-labels, r=GuillaumeGomez
triagebot: automatically add more rustdoc related labels [inspired by zulip discussion](https://rust-lang.zulipchat.com/#narrow/channel/242269-t-release.2Ftriage/topic/auto-adding.20team.20labels.20based.20on.20certain.20other.20labels)
2 parents d8810e3 + cc74ed0 commit 17ad8b5

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

Diff for: triagebot.toml

+37
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,16 @@ exclude_labels = [
227227
"T-*",
228228
]
229229

230+
trigger_labels = [
231+
"A-rustdoc-json",
232+
"A-rustdoc-type-layout",
233+
"A-rustdoc-scrape-examples",
234+
"A-link-to-definition",
235+
"A-cross-crate-reexports",
236+
"A-intra-doc-links",
237+
"A-doc-alias",
238+
]
239+
230240
[autolabel."A-rustdoc-json"]
231241
trigger_files = [
232242
"src/librustdoc/json/",
@@ -245,6 +255,33 @@ trigger_files = [
245255
"compiler/rustc_attr_validation",
246256
]
247257

258+
[autolabel."T-rustdoc-frontend"]
259+
trigger_labels = [
260+
"A-rustdoc-search",
261+
"A-rustdoc-ui",
262+
"A-rustdoc-js",
263+
]
264+
265+
trigger_files = [
266+
"src/librustdoc/html/",
267+
"tests/rustdoc/",
268+
"tests/rustdoc-gui/",
269+
"tests/rustdoc-js/",
270+
"tests/rustdoc-js-std/",
271+
# note: tests/rustdoc-ui tests the CLI, not the web frontend
272+
]
273+
274+
[autolabel."A-rustdoc-search"]
275+
trigger_files = [
276+
"src/librustdoc/html/static/js/search.js",
277+
"tests/rustdoc-js",
278+
"tests/rustdoc-js-std",
279+
]
280+
281+
trigger_labels = [
282+
"A-type-based-search",
283+
]
284+
248285
[autolabel."T-compiler"]
249286
trigger_files = [
250287
# Source code

0 commit comments

Comments
 (0)