xref: /DragonOS/triagebot.toml (revision 9e481b3bfe303e0b104694da9750ae978dfeecae)
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."T-driver"]
78trigger_files = [
79    "kernel/src/driver",
80    "kernel/src/arch/x86_64/driver",
81    "kernel/src/arch/riscv64/driver",
82]
83
84[autolabel."T-virtulization"]
85trigger_files = [
86    "kernel/src/virt",
87    "kernel/src/arch/x86_64/kvm"
88]
89
90[autolabel."S-等待审查"]
91new_pr = true
92
93[shortcut]
94
95[no-merges]
96exclude_titles = ["Rollup of", "subtree update", "Subtree update"]
97labels = ["S-等待作者修改"]
98
99[mentions."triagebot.toml"]
100message = "`triagebot.toml` has been modified, there may have been changes to the review queue."
101cc = ["@fslongjin", "@GnoCiYeH"]
102
103[mentions."kernel/src/driver/base"]
104message = "设备驱动模型部分发生了更改,请进行审查"
105cc = ["@fslongjin"]
106
107[mentions."kernel/src/driver/tty"]
108message = "tty驱动发生了更改,请进行审查"
109cc = ["@GnoCiYeH"]
110
111
112[assign]
113warn_non_default_branch = true
114contributing_url = "https://docs.dragonos.org/zh-cn/latest/community/code_contribution/index.html"
115users_on_vacation = []
116
117[assign.adhoc_groups]
118
119# 驱动程序
120driver = [
121    "@fslongjin",
122    "@YJwu2023",
123    "@GnoCiYeH"
124]
125
126# 虚拟化
127virtulization = [
128    "@fslongjin",
129    "@ZXXYy"
130]
131
132filesystem = [
133    "@fslongjin"
134]
135
136# CI/CD
137infra-ci = [
138    "@fslongjin"
139]
140
141bootstrap = [
142    "@fslongjin"
143]
144
145[assign.owners]
146"/.github/workflows" =                                   ["infra-ci"]
147"/kernel/src/driver" =                                   ["driver"]
148"/kernel/src/filesystem" =                               ["filesystem"]
149"/kernel/src/virt" =                                     ["virtulization"]
150"/kernel/src/arch/x86_64/kvm" =                          ["virtulization"]
151