teloxide/triagebot.toml
TheAwiteb 08912042af
Update triagebot configuration
- Add the `[review-requested]` table to add and remove status labels when requesting a review
- Add `contributing_url` to `[assign]` table
2024-01-07 11:07:04 +03:00

66 lines
1.5 KiB
TOML

[assign]
warn_non_default_branch = true
contributing_url = "https://github.com/teloxide/teloxide/blob/master/CONTRIBUTING.md"
[assign.adhoc_groups]
# This is a special group that will be used if none of the `owners` entries matches.
fallback = ["@WaffleLapkin", "@Hirrolot"]
[assign.owners]
"crates/teloxide-core" = ["@WaffleLapkin"]
"crates/teloxide-macros" = ["@WaffleLapkin"]
"crates/teloxide" = ["@Hirrolot"]
".github" = ["@WaffleLapkin"]
[autolabel."S-waiting-on-review"]
new_pr = true
#[autolabel."new-issue"]
#new_issue = true
[autolabel."C-core"]
trigger_files = ["crates/teloxide-core/"]
[autolabel."C-main"]
trigger_files = ["crates/teloxide/"]
[autolabel."C-macros"]
trigger_files = ["crates/teloxide-macros/"]
[relabel]
allow-unauthenticated = [
"S-*", # Status
"C-*", # Crate
"breaking change",
"bug",
"documentation",
"duplicate",
"feature-request",
"FIXME",
"frozen",
"proposal",
"question",
"tba-update",
"Unknown API error",
"WIP",
]
# https://forge.rust-lang.org/triagebot/github-releases.html?
[review-submitted]
# This label is added when a review is submitted.
reviewed_label = "S-waiting-on-author"
# These labels are removed when a 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"]
[shortcut]