xref: /DragonOS/triagebot.toml (revision 7f46e98e36ef30309306b48067e77795fb92308c)
1[relabel]
2allow-unauthenticated = [
3    "A-*",
4    "C-*",
5    "D-*",
6    "E-*",
7    "F-*",
8    "I-*",
9    "NLL-*",
10    "O-*",
11    "S-*",
12    "T-*",
13    "relnotes",
14    "requires-*",
15    "regression-*",
16    "rla-*",
17    "perf-*",
18    "needs-triage",
19    "has-merge-commits",
20]
21
22[review-submitted]
23# 这个标签会在被标记了"request changes"的审查时被添加。
24reviewed_label = "S-等待作者修改"
25# These labels are removed when a "request changes" review is submitted.
26review_labels = ["S-等待审查"]
27
28
29[review-requested]
30# Those labels are removed when PR author requests a review from an assignee
31remove_labels = ["S-等待作者修改"]
32# Those labels are added when PR author requests a review from an assignee
33add_labels = ["S-等待审查"]
34
35[prioritize]
36label = "I-prioritize"
37
38
39[autolabel."I-prioritize"]
40trigger_labels = [
41    "regression-untriaged",
42    "regression-from-stable-to-stable",
43    "regression-from-stable-to-beta",
44    "regression-from-stable-to-nightly",
45    "I-unsound",
46]
47exclude_labels = ["P-*", "T-release", "requires-nightly"]
48
49[autolabel."T-doc"]
50trigger_files = [
51    # Source code
52    "doc",
53]
54exclude_labels = ["T-*"]
55
56
57[autolabel."A-meta"]
58trigger_files = [
59    "triagebot.toml",
60    "LICENSES",
61    "README.md",
62    "README_EN.md",
63    ".mailmap",
64]
65
66[autolabel."A-fs"]
67trigger_files = ["kernel/src/filesystem"]
68
69[autolabel."O-x86_64"]
70trigger_files = ["kernel/src/arch/x86_64"]
71
72[autolabel."O-riscv64"]
73trigger_files = ["kernel/src/arch/riscv64"]
74
75[autolabel."A-driver"]
76trigger_files = [
77    "kernel/src/driver",
78    "kernel/src/arch/x86_64/driver",
79    "kernel/src/arch/riscv64/driver",
80]
81
82[autolabel."T-virtulization"]
83trigger_files = ["kernel/src/virt", "kernel/src/arch/x86_64/kvm"]
84
85[autolabel."T-Obs and Test"]
86trigger_files = [
87    "/kernel/crates/rbpf",
88    "/kernel/crates/kprobe",
89    "/kernel/src/debug/kprobe",
90    "/kernel/src/bpf",
91]
92
93[autolabel."S-等待审查"]
94new_pr = true
95
96[autolabel."needs-triage"]
97new_issue = true
98exclude_labels = ["A-diagnostics"]
99
100[shortcut]
101
102[no-merges]
103exclude_titles = ["Rollup of", "subtree update", "Subtree update"]
104labels = ["S-等待作者修改", "ambiguous"]
105
106[mentions."triagebot.toml"]
107message = "`triagebot.toml` has been modified, there may have been changes to the review queue."
108cc = ["@fslongjin", "@GnoCiYeH"]
109
110[mentions."kernel/src/driver/base"]
111message = "设备驱动模型部分发生了更改,请进行审查"
112cc = ["@fslongjin"]
113
114[mentions."kernel/src/driver/tty"]
115message = "tty驱动发生了更改,请进行审查"
116cc = ["@GnoCiYeH"]
117
118[mentions."kernel/src/bpf"]
119message = "BPF部分发生了更改,请进行审查"
120cc = ["@Godones"]
121
122
123[assign]
124warn_non_default_branch = true
125contributing_url = "https://community.dragonos.org/contributors/"
126users_on_vacation = []
127
128[assign.adhoc_groups]
129
130# 驱动程序
131driver = ["@dragonos/main"]
132
133# SIG-MM
134sig-mm = ["@dragonos/mm"]
135
136sig-obs = [
137    "@dragonos/sig-observation-testing",
138    "@Chiichen",
139    "@Godones"
140]
141
142
143# 虚拟化
144virtulization = ["@dragonos/virtualization"]
145
146main = [ "@dragonos/main" ]
147network = [ "@dragonos/network" ]
148
149riscv64 = ["@fslongjin"]
150
151x86_64 = ["@fslongjin", "@GnoCiYeH", "@Chiichen"]
152
153# CI/CD
154infra = ["@dragonos/infra"]
155
156
157[assign.owners]
158"/.github/workflows" = ["infra"]
159"/.github/actions" = ["infra"]
160"/triagebot.toml" = ["infra"]
161"/kernel/src/driver" = ["main"]
162"/kernel/src/filesystem" = ["main"]
163"/kernel/src/sched" = ["main"]
164"/kernel/src/process" = ["main"]
165"/kernel/src/net" = ["network"]
166"/kernel/src/virt" = ["virtulization"]
167"/kernel/src/arch/x86_64/kvm" = ["virtulization"]
168"/kernel/src/arch/x86_64" = ["x86_64"]
169"/kernel/src/arch/riscv64" = ["riscv64"]
170"/kernel/crates/rbpf" = ["sig-obs"]
171"/kernel/crates/kprobe" = ["sig-obs"]
172"/kernel/src/debug/kprobe" = ["sig-obs"]
173"/kernel/src/bpf" = ["sig-obs"]
174"/tools" = ["infra"]
175