From fbc174499f5200924c732263e461c79b4a936c5b Mon Sep 17 00:00:00 2001 From: LoGin Date: Fri, 15 Mar 2024 20:06:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0triagebot=E6=96=87=E4=BB=B6?= =?UTF-8?q?=20(#608)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 添加triagebot文件 --- triagebot.toml | 114 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 triagebot.toml diff --git a/triagebot.toml b/triagebot.toml new file mode 100644 index 00000000..f8e9cf4b --- /dev/null +++ b/triagebot.toml @@ -0,0 +1,114 @@ +[relabel] +allow-unauthenticated = [ + "A-*", + "C-*", + "D-*", + "E-*", + "F-*", + "I-*", + "NLL-*", + "O-*", + "S-*", + "T-*", + "relnotes", + "requires-*", + "regression-*", + "rla-*", + "perf-*", + "needs-triage", + "has-merge-commits", +] + +[review-submitted] +# 这个标签会在被标记了"request changes"的审查时被添加。 +reviewed_label = "S-等待作者修改" +# These labels are removed when a "request changes" review is submitted. +review_labels = ["S-等待审查"] + + +[review-requested] +# Those labels are removed when PR author requests a review from an assignee +remove_labels = ["S-等待作者修改"] +# Those labels are added when PR author requests a review from an assignee +add_labels = ["S-等待审查"] + +[prioritize] +label = "I-prioritize" + + +[autolabel."I-prioritize"] +trigger_labels = [ + "regression-untriaged", + "regression-from-stable-to-stable", + "regression-from-stable-to-beta", + "regression-from-stable-to-nightly", + "I-unsound", +] +exclude_labels = [ + "P-*", + "T-release", + "requires-nightly", +] + +[autolabel."T-doc"] +trigger_files = [ + # Source code + "doc", +] +exclude_labels = [ + "T-*", +] + + +[autolabel."A-meta"] +trigger_files = [ + "triagebot.toml", + "LICENSES", + "README.md", + "README_EN.md", + ".mailmap", +] + +[autolabel."S-等待审查"] +new_pr = true + +[no-merges] +exclude_titles = ["Rollup of", "subtree update", "Subtree update"] +labels = ["S-等待作者修改"] + +[mentions."triagebot.toml"] +message = "`triagebot.toml` has been modified, there may have been changes to the review queue." +cc = ["@fslongjin"] + +[assign] +warn_non_default_branch = true +contributing_url = "https://docs.dragonos.org/zh-cn/latest/community/code_contribution/index.html" +users_on_vacation = [] + +[assign.adhoc_groups] + +# 驱动程序 +driver = [ + "@fslongjin", + "@YJwu2023", + "@GnoCiYeH" +] + +# 虚拟化 +virtulization = [ + "@fslongjin", + "@ZXXYy" +] + +# CI/CD +infra-ci = [ + "@fslongjin" +] + +bootstrap = [ + "@fslongjin" +] + +[assign.owners] +"/.github/workflows" = ["infra-ci"] +"/kernel/src/driver" = ["driver"]