xref: /DragonOS/triagebot.toml (revision 401699735b5ec29768c3c0c47df6c529991f108f)
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 = [
48    "P-*",
49    "T-release",
50    "requires-nightly",
51]
52
53[autolabel."T-doc"]
54trigger_files = [
55    # Source code
56    "doc",
57]
58exclude_labels = [
59    "T-*",
60]
61
62
63[autolabel."A-meta"]
64trigger_files = [
65    "triagebot.toml",
66    "LICENSES",
67    "README.md",
68    "README_EN.md",
69    ".mailmap",
70]
71
72[autolabel."A-fs"]
73trigger_files = [
74    "kernel/src/filesystem",
75]
76
77[autolabel."O-x86_64"]
78trigger_files = [
79    "kernel/src/arch/x86_64",
80]
81
82[autolabel."O-riscv64"]
83trigger_files = [
84    "kernel/src/arch/riscv64",
85]
86
87[autolabel."T-driver"]
88trigger_files = [
89    "kernel/src/driver",
90    "kernel/src/arch/x86_64/driver",
91    "kernel/src/arch/riscv64/driver",
92]
93
94[autolabel."T-virtulization"]
95trigger_files = [
96    "kernel/src/virt",
97    "kernel/src/arch/x86_64/kvm"
98]
99
100[autolabel."S-等待审查"]
101new_pr = true
102
103[shortcut]
104
105[no-merges]
106exclude_titles = ["Rollup of", "subtree update", "Subtree update"]
107labels = ["S-等待作者修改"]
108
109[mentions."triagebot.toml"]
110message = "`triagebot.toml` has been modified, there may have been changes to the review queue."
111cc = ["@fslongjin", "@GnoCiYeH"]
112
113[mentions."kernel/src/driver/base"]
114message = "设备驱动模型部分发生了更改,请进行审查"
115cc = ["@fslongjin"]
116
117[mentions."kernel/src/driver/tty"]
118message = "tty驱动发生了更改,请进行审查"
119cc = ["@GnoCiYeH"]
120
121
122[assign]
123warn_non_default_branch = true
124contributing_url = "https://docs.dragonos.org/zh-cn/latest/community/code_contribution/index.html"
125users_on_vacation = []
126
127[assign.adhoc_groups]
128
129# 驱动程序
130driver = [
131    "@fslongjin",
132    "@YJwu2023",
133    "@GnoCiYeH"
134]
135
136# 虚拟化
137virtulization = [
138    "@fslongjin",
139    "@ZXXYy"
140]
141
142filesystem = [
143    "@fslongjin"
144]
145
146riscv64 = [
147    "@fslongjin"
148]
149
150x86_64 = [
151    "@fslongjin",
152    "@GnoCiYeH",
153    "@Chiichen",
154]
155
156# CI/CD
157infra-ci = [
158    "@fslongjin"
159]
160
161bootstrap = [
162    "@fslongjin"
163]
164
165[assign.owners]
166"/.github/workflows" =                                   ["infra-ci"]
167"/kernel/src/driver" =                                   ["driver"]
168"/kernel/src/filesystem" =                               ["filesystem"]
169"/kernel/src/virt" =                                     ["virtulization"]
170"/kernel/src/arch/x86_64/kvm" =                          ["virtulization"]
171"/kernel/src/arch/x86_64"   =                            ["x86_64"]
172"/kernel/src/arch/riscv64"   =                           ["riscv64"]
173
174