From 93ebd09665ed8c2d0401dad632adb17d73c0b49d Mon Sep 17 00:00:00 2001 From: wuhuizuo Date: Thu, 6 Jul 2023 19:34:23 +0800 Subject: [PATCH] *: Setup OWNERS to control approving global variable and configuration changes Fixes #45183 Signed-off-by: wuhuizuo --- OWNERS_ALIASES | 14 ++++++++++++++ br/OWNERS | 7 +++++++ config/OWNERS | 7 +++++++ parser/OWNERS | 7 +++++++ sessionctx/variable/OWNERS | 11 +++++++++++ 5 files changed, 46 insertions(+) create mode 100644 OWNERS_ALIASES create mode 100644 br/OWNERS create mode 100644 config/OWNERS create mode 100644 parser/OWNERS create mode 100644 sessionctx/variable/OWNERS diff --git a/OWNERS_ALIASES b/OWNERS_ALIASES new file mode 100644 index 0000000000000..b3ab80f856db8 --- /dev/null +++ b/OWNERS_ALIASES @@ -0,0 +1,14 @@ +aliases: + sig-critical-approvers-tidb-server: + - yudongusa + - bb7133 + - XuHuaiyu + - xurui + - morgo + sig-critical-approvers-tidb-lightning: + - niubell + - D3Hunter + - frank945946 + sig-critical-approvers-parser: + - kennytm + - tangenta diff --git a/br/OWNERS b/br/OWNERS new file mode 100644 index 0000000000000..fafd74dbe84f9 --- /dev/null +++ b/br/OWNERS @@ -0,0 +1,7 @@ +# See the OWNERS docs at https://go.k8s.io/owners +options: + no_parent_owners: true +filters: + "tidb-lightning\\.tom$": + approvers: + - sig-critical-approvers-tidb-lightning diff --git a/config/OWNERS b/config/OWNERS new file mode 100644 index 0000000000000..302e9ec5a01cf --- /dev/null +++ b/config/OWNERS @@ -0,0 +1,7 @@ +# See the OWNERS docs at https://go.k8s.io/owners +options: + no_parent_owners: true +filters: + "config\\.toml\\.example$": + approvers: + - sig-critical-approvers-tidb-server diff --git a/parser/OWNERS b/parser/OWNERS new file mode 100644 index 0000000000000..5c71ce00ffb4e --- /dev/null +++ b/parser/OWNERS @@ -0,0 +1,7 @@ +# See the OWNERS docs at https://go.k8s.io/owners +options: + no_parent_owners: true +filters: + "parser\\.y$": + approvers: + - sig-critical-approvers-parser diff --git a/sessionctx/variable/OWNERS b/sessionctx/variable/OWNERS new file mode 100644 index 0000000000000..b12bd2256ded6 --- /dev/null +++ b/sessionctx/variable/OWNERS @@ -0,0 +1,11 @@ +# See the OWNERS docs at https://go.k8s.io/owners +options: + no_parent_owners: true +filters: + "(sysvar|session|tidb_vars)\\.go$": + approvers: + - sig-critical-approvers-tidb-server + ".*": + approvers: + - sig-critical-approvers-tidb-server +