Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions triagebot.toml
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,27 @@ trigger_files = [
"src/tools/rustfmt",
]

# Language documentation labels

[autolabel."T-lang-docs"]
trigger_files = [
"library/core/src/primitive_docs.rs",
"library/std/src/attribute_docs.rs",
"library/std/src/keyword_docs.rs",
"src/doc/nomicon",
"src/doc/reference.md",
"src/doc/reference",
]

# Edition labels

[autolabel."T-edition"]
trigger_files = [
"compiler/rustc_span/src/edition.rs",
"src/doc/edition-guide",
"tests/ui/editions",
]

# ------------------------------------------------------------------------------
# Prioritization and team nominations
# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -1464,6 +1485,46 @@ message = """
"""
cc = ["@jieyouxu"]

# Language documentation mentions

[mentions."library/core/src/primitive_docs.rs"]
message = "Some changes occurred in language documentation."
cc = ["@rust-lang/lang-docs", "@rust-lang/fls"]

[mentions."library/std/src/attribute_docs.rs"]
message = "Some changes occurred in language documentation."
cc = ["@rust-lang/lang-docs", "@rust-lang/fls"]

[mentions."library/std/src/keyword_docs.rs"]
message = "Some changes occurred in language documentation."
cc = ["@rust-lang/lang-docs", "@rust-lang/fls"]

[mentions."src/doc/nomicon"]
message = "A language documentation submodule was updated."
cc = ["@rust-lang/lang-docs"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how much value there is in this since the changes have already been reviewed upstream in the nomicon (and same for the reference below).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I was on the fence about this part too. The risk of noise isn't so much from the intended submodule bumps as from where people accidentally bump it on unrelated PRs.


[mentions."src/doc/reference.md"]
message = "Some changes occurred in language documentation."
cc = ["@rust-lang/lang-docs"]

[mentions."src/doc/reference"]
message = "A language documentation submodule was updated."
cc = ["@rust-lang/lang-docs"]

# Edition mentions

[mentions."compiler/rustc_span/src/edition.rs"]
message = "Edition-relevant code was updated."
cc = ["@rust-lang/edition"]

[mentions."src/doc/edition-guide"]
message = "The Edition Guide submodule was updated."
cc = ["@rust-lang/edition"]

[mentions."tests/ui/editions"]
message = "Edition-relevant tests were updated."
cc = ["@rust-lang/edition"]

# Content-based mentions

[mentions."#[miri::intrinsic_fallback_is_spec]"]
Expand Down Expand Up @@ -1651,11 +1712,14 @@ dep-bumps = [
"/library/alloc" = ["libs"]
"/library/alloctests" = ["libs"]
"/library/core" = ["libs"]
"/library/core/src/primitive_docs.rs" = ["lang-docs"]
"/library/coretests" = ["libs"]
"/library/panic_abort" = ["libs"]
"/library/panic_unwind" = ["libs"]
"/library/proc_macro" = ["@petrochenkov"]
"/library/std" = ["libs", "@ChrisDenton"]
"/library/std/src/attribute_docs.rs" = ["lang-docs", "@GuillaumeGomez"]
"/library/std/src/keyword_docs.rs" = ["lang-docs"]
"/library/std/src/sys/pal/windows" = ["@ChrisDenton"]
"/library/stdarch" = ["libs"]
"/library/std_detect" = ["libs"]
Expand Down
Loading