xref: /DragonOS/triagebot.toml (revision 9fab312ea9921618629924ab15c28c2d255b21c6)
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[autolabel."needs-triage"]
104new_issue = true
105exclude_labels = [
106    "A-diagnostics",
107]
108
109[shortcut]
110
111[no-merges]
112exclude_titles = ["Rollup of", "subtree update", "Subtree update"]
113labels = ["S-等待作者修改"]
114
115[mentions."triagebot.toml"]
116message = "`triagebot.toml` has been modified, there may have been changes to the review queue."
117cc = ["@fslongjin", "@GnoCiYeH"]
118
119[mentions."kernel/src/driver/base"]
120message = "设备驱动模型部分发生了更改,请进行审查"
121cc = ["@fslongjin"]
122
123[mentions."kernel/src/driver/tty"]
124message = "tty驱动发生了更改,请进行审查"
125cc = ["@GnoCiYeH"]
126
127
128[assign]
129warn_non_default_branch = true
130contributing_url = "https://docs.dragonos.org/zh-cn/latest/community/code_contribution/index.html"
131users_on_vacation = []
132
133[assign.adhoc_groups]
134
135# 驱动程序
136driver = [
137    "@fslongjin",
138    "@YJwu2023",
139    "@GnoCiYeH"
140]
141
142# 虚拟化
143virtulization = [
144    "@fslongjin",
145    "@ZXXYy"
146]
147
148filesystem = [
149    "@fslongjin"
150]
151
152riscv64 = [
153    "@fslongjin"
154]
155
156x86_64 = [
157    "@fslongjin",
158    "@GnoCiYeH",
159    "@Chiichen",
160]
161
162# CI/CD
163infra-ci = [
164    "@fslongjin"
165]
166
167bootstrap = [
168    "@fslongjin"
169]
170
171[assign.owners]
172"/.github/workflows" =                                   ["infra-ci"]
173"/kernel/src/driver" =                                   ["driver"]
174"/kernel/src/filesystem" =                               ["filesystem"]
175"/kernel/src/virt" =                                     ["virtulization"]
176"/kernel/src/arch/x86_64/kvm" =                          ["virtulization"]
177"/kernel/src/arch/x86_64"   =                            ["x86_64"]
178"/kernel/src/arch/riscv64"   =                           ["riscv64"]
179
180