Skip to content

Adjust triagebot config #2425

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

Merged
merged 7 commits into from
May 29, 2025
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
63 changes: 58 additions & 5 deletions triagebot.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,71 @@
# This file's format is documented at
# https://forge.rust-lang.org/triagebot/pr-assignment.html#configuration

[assign]

[autolabel."needs-triage"]
new_issue = true
exclude_labels = [
"A-diagnostics",
"C-tracking-issue",
]

[review-submitted]
# This label is added when a "request changes" review is submitted.
reviewed_label = "S-waiting-on-author"
# These labels are removed when a "request changes" review is submitted.
review_labels = ["S-waiting-on-review"]

[review-requested]
# Those labels are removed when PR author requests a review from an assignee
remove_labels = ["S-waiting-on-author"]
# Those labels are added when PR author requests a review from an assignee
add_labels = ["S-waiting-on-review"]

# Enable tracking of PR review assignment
# Documentation at: https://forge.rust-lang.org/triagebot/pr-assignment-tracking.html
[shortcut]

[autolabel."S-waiting-on-review"]
new_pr = true

# Enable issue transfers within the org
# Documentation at: https://forge.rust-lang.org/triagebot/transfer.html
[transfer]

[relabel]
allow-unauthenticated = [
"waiting-on-review",
"waiting-on-author",
"blocked",
"-Z*",
"A-*",
"C-*",
"D-*",
"E-*",
"F-*",
"I-*",
"L-*",
"O-*",
"PG-*",
"S-*",
"T-*",
"WG-*",
"needs-triage",
]

# Enable `@rustbot note` functionality
# Documentation at: https://forge.rust-lang.org/triagebot/note.html
[note]

# Prevents mentions in commits to avoid users being spammed
# Documentation at: https://forge.rust-lang.org/triagebot/no-mentions.html
[no-mentions]

[canonicalize-issue-links]
# Canonicalize issue numbers to avoid closing the wrong issue
# when commits are included in subtrees, as well as warning links in commits.
# Documentation at: https://forge.rust-lang.org/triagebot/issue-links.html
[issue-links]

# Automatically close and reopen PRs made by bots to run CI on them
[bot-pull-requests]

[behind-upstream]
days-threshold = 7
days-threshold = 7