xref: /DragonOS/triagebot.toml (revision dd8e74ef0d7f91a141bd217736bef4fe7dc6df3d)
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."T-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://docs.dragonos.org/zh-cn/latest/community/code_contribution/index.html"
114users_on_vacation = []
115
116[assign.adhoc_groups]
117
118# 驱动程序
119driver = ["@fslongjin", "@YJwu2023", "@GnoCiYeH"]
120
121# 虚拟化
122virtulization = ["@fslongjin", "@ZXXYy"]
123
124filesystem = ["@fslongjin"]
125
126riscv64 = ["@fslongjin"]
127
128x86_64 = ["@fslongjin", "@GnoCiYeH", "@Chiichen"]
129
130# CI/CD
131infra-ci = ["@fslongjin", "@Chiichen"]
132
133bootstrap = ["@fslongjin"]
134
135[assign.owners]
136"/.github/workflows" = ["infra-ci"]
137"/triagebot.toml" = ["infra-ci"]
138"/kernel/src/driver" = ["driver"]
139"/kernel/src/filesystem" = ["filesystem"]
140"/kernel/src/virt" = ["virtulization"]
141"/kernel/src/arch/x86_64/kvm" = ["virtulization"]
142"/kernel/src/arch/x86_64" = ["x86_64"]
143"/kernel/src/arch/riscv64" = ["riscv64"]
144"/tools" = ["bootstrap"]
145