Skip to content

Commit 087e9ac

Browse files
committed
Enable autolabel in triagebot.toml
1 parent 7f9bbee commit 087e9ac

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

triagebot.toml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,52 @@
1+
[relabel]
2+
allow-unauthenticated = [
3+
"S-*",
4+
]
5+
6+
[review-submitted]
7+
# This label is added when a "request changes" review is submitted.
8+
reviewed_label = "S-waiting-on-author"
9+
# These labels are removed when a "request changes" review is submitted.
10+
review_labels = ["S-waiting-on-review"]
11+
12+
[review-requested]
13+
# Those labels are removed when PR author requests a review from an assignee
14+
remove_labels = ["S-waiting-on-author"]
15+
# Those labels are added when PR author requests a review from an assignee
16+
add_labels = ["S-waiting-on-review"]
17+
118
[assign]
219
warn_non_default_branch = true
20+
21+
[autolabel."A-channel"]
22+
trigger_files = ["futures-channel/src"]
23+
24+
[autolabel."A-compat"]
25+
trigger_files = ["futures-util/src/compat"]
26+
27+
[autolabel."A-executor"]
28+
trigger_files = ["futures-executor/src"]
29+
30+
[autolabel."A-future"]
31+
trigger_files = ["futures-core/src/future.rs", "futures-util/src/future"]
32+
33+
[autolabel."A-io"]
34+
trigger_files = ["futures-io/src", "futures-util/src/io"]
35+
36+
[autolabel."A-lock"]
37+
trigger_files = ["futures-util/src/lock"]
38+
39+
[autolabel."A-macro"]
40+
trigger_files = ["futures-macro/src", "futures-util/src/async_await"]
41+
42+
[autolabel."A-sink"]
43+
trigger_files = ["futures-sink/src", "futures-util/src/sink"]
44+
45+
[autolabel."A-stream"]
46+
trigger_files = ["futures-core/src/stream.rs", "futures-util/src/stream"]
47+
48+
[autolabel."A-task"]
49+
trigger_files = ["futures-core/src/task", "futures-task/src", "futures-util/src/task"]
50+
51+
[autolabel."S-waiting-on-review"]
52+
new_pr = true

0 commit comments

Comments
 (0)