Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some more autolabels #103204

Merged
merged 1 commit into from
Oct 19, 2022
Merged
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
37 changes: 37 additions & 0 deletions triagebot.toml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ trigger_files = [
"x.py",
"src/bootstrap",
"src/tools/rust-installer",
"configure",
"Cargo.toml",
"Cargo.lock",
Copy link
Member

Choose a reason for hiding this comment

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

Is this one supposed to be here? Adding any dependency to any rustc crate now makes the bot add the A-bootstrap label.

Copy link
Member Author

Choose a reason for hiding this comment

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

"config.toml.example",
"src/stage0.json"
]

[autolabel."T-infra"]
Expand All @@ -203,6 +208,38 @@ trigger_files = [
"compiler/rustc_macros/src/query.rs"
]

[autolabel."A-testsuite"]
trigger_files = [
"src/test",
Copy link
Member

Choose a reason for hiding this comment

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

Can we remove this from the autolabel? This causes basically every compiler PR to be labeled A-testsuite, since almost every compiler PR has an associated UI test with it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, makes sense. Not sure when I'll have time though.

"src/ci",
"src/tools/compiletest",
"src/tools/cargotest",
"src/tools/tidy",
"src/tools/remote-test-server",
"src/tools/remote-test-client",
"src/tools/tier-check"
]

[autolabel."A-meta"]
trigger_files = [
"triagebot.toml",
"rustfmt.toml",
"LICENSES",
"README.md",
"CONTRIBUTING.md",
".reuse",
".mailmap",
".git-blame-ignore-revs",
".editorconfig"
]

[autolabel."T-release"]
trigger_files = [
"RELEASES.md",
"src/stage0.json",
"src/version"
]

[notify-zulip."I-prioritize"]
zulip_stream = 245100 # #t-compiler/wg-prioritization/alerts
topic = "#{number} {title}"
Expand Down