From 09924cdd0b5344f32db96ecd55591bd77f6d5701 Mon Sep 17 00:00:00 2001 From: Congqi Xia Date: Tue, 19 Mar 2024 10:43:29 +0800 Subject: [PATCH] enhance: Make mergify rules work fro 2.x branches Signed-off-by: Congqi Xia --- .github/mergify.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index 678311c..20436a0 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -3,7 +3,7 @@ pull_request_rules: conditions: - or: - base=master - - base=2.2 + - base~=^2(\.\d+){1,2}$ - -status-success=DCO actions: label: @@ -16,7 +16,7 @@ pull_request_rules: conditions: - or: - base=master - - base=2.2 + - base~=^2(\.\d+){1,2}$ - status-success=DCO actions: label: @@ -29,7 +29,7 @@ pull_request_rules: conditions: - or: - base=master - - base=2.2 + - base~=^2(\.\d+){1,2}$ - -body~=\#[0-9]{1,6}(\s+|$) - -body~=https://github.com/milvus-io/milvus/issues/[0-9]{1,6}(\s+|$) - -body~=https://github.com/milvus-io/milvus-proto/issues/[0-9]{1,6}(\s+|$) @@ -49,7 +49,7 @@ pull_request_rules: - and: - or: - base=master - - base=2.2 + - base~=^2(\.\d+){1,2}$ - or: - body~=\#[0-9]{1,6}(\s+|$) - body~=https://github.com/milvus-io/milvus/issues/[0-9]{1,6}(\s+|$) @@ -66,7 +66,7 @@ pull_request_rules: conditions: - or: - base=master - - base=2.2 + - base~=^2(\.\d+){1,2}$ - title~=\[automated\] actions: label: @@ -78,7 +78,7 @@ pull_request_rules: conditions: - or: - base=master - - base=2.2 + - base~=^2(\.\d+){1,2}$ - "status-success=Run Check Proto (3.8)" actions: label: @@ -89,7 +89,7 @@ pull_request_rules: conditions: - or: - base=master - - base=2.2 + - base~=^2(\.\d+){1,2}$ - "status-success!=Run Check Proto (3.8)" actions: label: