teloxide/triagebot.toml
2024-02-13 19:47:23 +01:00

89 lines
2.2 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/"]
[autolabel."A-dialogue"]
trigger_files = ["crates/teloxide/src/dispatching/dialogue/"]
[autolabel."A-dispatching"]
trigger_files = ["crates/teloxide/src/dispatching/"]
[autolabel."A-macros"]
trigger_files = ["crates/teloxide-macros/"]
[autolabel."A-requester"]
trigger_files = ["crates/teloxide-core/src/requests/requester.rs", "crates/teloxide-core/src/requests/requester_ext.rs"]
[autolabel."A-requests"]
trigger_files = ["crates/teloxide-core/src/requests/", "crates/teloxide-core/src/payloads/"]
[autolabel."A-tba-errors"]
trigger_files = ["crates/teloxide-core/src/errors.rs"]
[autolabel."A-tba-types"]
trigger_files = ["crates/teloxide-core/src/types"]
[autolabel."A-update-listeners"]
trigger_files = ["crates/teloxide/src/update_listeners"]
[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]