feat: [skip e2e] apply PR format enforcement to branch 2.3.x (#28506)

beside master branch, also apply PR format enforcement to branch 2.3.x

Signed-off-by: Sammy Huang <sammy.huang@zilliz.com>
pull/28483/head
sammy.huang 2023-11-16 18:06:19 +08:00 committed by GitHub
parent 1c3e763471
commit 46a5542d70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 1 deletions

23
.github/mergify.yml vendored
View File

@ -371,7 +371,10 @@ pull_request_rules:
- name: Add 'do-not-merge/invalid-pr-format' label for invalid PR titles
conditions:
- or:
- '-title~=^(feat:|enhance:|fix:)'
- base=master
- base~=^2\.3(\.\d+){0,1}$
- or:
- '-title~=^(feat:|enhance:|fix:|test:|doc:)'
- body=^$
actions:
label:
@ -411,6 +414,9 @@ pull_request_rules:
- name: Remove 'do-not-merge/invalid-pr-format' label for valid PRs
conditions:
- or:
- base=master
- base~=^2\.3(\.\d+){0,1}$
- 'title~=^(feat:|enhance:|fix:|test:|doc:)'
- '-body=^$'
- 'label=do-not-merge/invalid-pr-format'
@ -421,6 +427,9 @@ pull_request_rules:
- name: Label bug fix PRs
conditions:
- or:
- base=master
- base~=^2\.3(\.\d+){0,1}$
- 'title~=^fix:'
actions:
label:
@ -429,6 +438,9 @@ pull_request_rules:
- name: Label feature PRs
conditions:
- or:
- base=master
- base~=^2\.3(\.\d+){0,1}$
- 'title~=^feat:'
actions:
label:
@ -437,6 +449,9 @@ pull_request_rules:
- name: Label enhancement PRs
conditions:
- or:
- base=master
- base~=^2\.3(\.\d+){0,1}$
- 'title~=^enhance:'
actions:
label:
@ -445,6 +460,9 @@ pull_request_rules:
- name: Label test PRs
conditions:
- or:
- base=master
- base~=^2\.3(\.\d+){0,1}$
- 'title~=^test:'
actions:
label:
@ -453,6 +471,9 @@ pull_request_rules:
- name: Label doc PRs
conditions:
- or:
- base=master
- base~=^2\.3(\.\d+){0,1}$
- 'title~=^doc:'
actions:
label: