1
Fork 0

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)
This commit is contained in:
Jubilee 2025-02-14 14:05:21 -08:00 committed by GitHub
commit 17ad8b5eee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -227,6 +227,16 @@ exclude_labels = [
"T-*",
]
trigger_labels = [
"A-rustdoc-json",
"A-rustdoc-type-layout",
"A-rustdoc-scrape-examples",
"A-link-to-definition",
"A-cross-crate-reexports",
"A-intra-doc-links",
"A-doc-alias",
]
[autolabel."A-rustdoc-json"]
trigger_files = [
"src/librustdoc/json/",
@ -245,6 +255,33 @@ trigger_files = [
"compiler/rustc_attr_validation",
]
[autolabel."T-rustdoc-frontend"]
trigger_labels = [
"A-rustdoc-search",
"A-rustdoc-ui",
"A-rustdoc-js",
]
trigger_files = [
"src/librustdoc/html/",
"tests/rustdoc/",
"tests/rustdoc-gui/",
"tests/rustdoc-js/",
"tests/rustdoc-js-std/",
# note: tests/rustdoc-ui tests the CLI, not the web frontend
]
[autolabel."A-rustdoc-search"]
trigger_files = [
"src/librustdoc/html/static/js/search.js",
"tests/rustdoc-js",
"tests/rustdoc-js-std",
]
trigger_labels = [
"A-type-based-search",
]
[autolabel."T-compiler"]
trigger_files = [
# Source code