Skip to content

Commit

Permalink
enhance: Make mergify rules work fro 2.x branches
Browse files Browse the repository at this point in the history
Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia committed Mar 19, 2024
1 parent be632cc commit 09924cd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pull_request_rules:
conditions:
- or:
- base=master
- base=2.2
- base~=^2(\.\d+){1,2}$
- -status-success=DCO
actions:
label:
Expand All @@ -16,7 +16,7 @@ pull_request_rules:
conditions:
- or:
- base=master
- base=2.2
- base~=^2(\.\d+){1,2}$
- status-success=DCO
actions:
label:
Expand All @@ -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+|$)
Expand All @@ -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+|$)
Expand All @@ -66,7 +66,7 @@ pull_request_rules:
conditions:
- or:
- base=master
- base=2.2
- base~=^2(\.\d+){1,2}$
- title~=\[automated\]
actions:
label:
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 09924cd

Please sign in to comment.