-
Notifications
You must be signed in to change notification settings - Fork 996
Expand file tree
/
Copy pathtriagebot.toml
More file actions
98 lines (79 loc) · 2.78 KB
/
triagebot.toml
File metadata and controls
98 lines (79 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# This file's format is documented at
# https://forge.rust-lang.org/triagebot/pr-assignment.html#configuration
# ------------------------------------------------------------------------------
# Labels
# ------------------------------------------------------------------------------
[relabel]
allow-unauthenticated = [
"C-*",
"needs-triage",
"regression-*",
"S-*",
]
# ------------------------------------------------------------------------------
# General autolabels
# ------------------------------------------------------------------------------
[autolabel."needs-triage"]
new_issue = true
exclude_labels = [
"C-tracking-issue",
]
# By default, we will tag merged PRs with `release-notes`; they can be removed
# manually if we determine that a PR does not need relnotes.
[autolabel."release-notes"]
pr_merged = true
# Prioritization of regression triaging.
[autolabel."I-prioritize"]
trigger_labels = [
"regression-from-stable-to-beta",
"regression-from-stable-to-nightly",
"regression-from-stable-to-stable",
"regression-untriaged",
]
exclude_labels = [
"P-*",
"requires-nightly",
]
[autolabel."A-CI"]
trigger_files = [
".github/workflows",
"check_diff",
"ci",
]
[autolabel."A-meta"]
trigger_files = [
"triagebot.toml",
]
# ------------------------------------------------------------------------------
# PR review
# ------------------------------------------------------------------------------
[autolabel."S-waiting-on-review"]
new_pr = true
[autolabel."S-waiting-on-author"]
new_draft = true
[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 comments linking to triagebot range-diff when a PR is rebased
# onto a different base commit.
# Documentation at: https://forge.rust-lang.org/triagebot/range-diff.html
[range-diff]
# Adds at the end of a review body a link to view the changes that happened
# since the review.
# Documentation at: https://forge.rust-lang.org/triagebot/review-changes-since.html
[review-changes-since]
# Allow reviewers and authors to easily flip between {`S-waiting-on-review`,
# `S-waiting-on-author`, `S-blocked`}.
# Documentation at: <https://forge.rust-lang.org/triagebot/shortcuts.html>
[shortcut]
# ------------------------------------------------------------------------------
# PR assignments
# ------------------------------------------------------------------------------
[assign]