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:
commit
17ad8b5eee
1 changed files with 37 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue