xref: /DragonOS/triagebot.toml (revision 80c9e8f8f0adb25c1a33ff09cb51e7df5b1cdd99)
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."S-等待审查"]
86new_pr = true
87
88[autolabel."needs-triage"]
89new_issue = true
90exclude_labels = ["A-diagnostics"]
91
92[shortcut]
93
94[no-merges]
95exclude_titles = ["Rollup of", "subtree update", "Subtree update"]
96labels = ["S-等待作者修改", "ambiguous"]
97
98[mentions."triagebot.toml"]
99message = "`triagebot.toml` has been modified, there may have been changes to the review queue."
100cc = ["@fslongjin", "@GnoCiYeH"]
101
102[mentions."kernel/src/driver/base"]
103message = "设备驱动模型部分发生了更改,请进行审查"
104cc = ["@fslongjin"]
105
106[mentions."kernel/src/driver/tty"]
107message = "tty驱动发生了更改,请进行审查"
108cc = ["@GnoCiYeH"]
109
110
111[assign]
112warn_non_default_branch = true
113contributing_url = "https://community.dragonos.org/contributors/"
114users_on_vacation = []
115
116[assign.adhoc_groups]
117
118# 驱动程序
119driver = ["@dragonos/main"]
120
121# SIG-MM
122sig-mm = ["@dragonos/mm"]
123
124# 虚拟化
125virtulization = ["@dragonos/virtualization"]
126
127main = [ "@dragonos/main" ]
128network = [ "@dragonos/network" ]
129
130riscv64 = ["@fslongjin"]
131
132x86_64 = ["@fslongjin", "@GnoCiYeH", "@Chiichen"]
133
134# CI/CD
135infra = ["@dragonos/infra"]
136
137
138[assign.owners]
139"/.github/workflows" = ["infra"]
140"/.github/actions" = ["infra"]
141"/triagebot.toml" = ["infra"]
142"/kernel/src/driver" = ["main"]
143"/kernel/src/filesystem" = ["main"]
144"/kernel/src/sched" = ["main"]
145"/kernel/src/process" = ["main"]
146"/kernel/src/net" = ["network"]
147"/kernel/src/virt" = ["virtulization"]
148"/kernel/src/arch/x86_64/kvm" = ["virtulization"]
149"/kernel/src/arch/x86_64" = ["x86_64"]
150"/kernel/src/arch/riscv64" = ["riscv64"]
151"/tools" = ["infra"]
152