auto close Update Knowhere Commit PR as long as ci-passed

Assign the 'lgtm' and 'approved' labels following the successful testing of the 'Update Knowhere Commit'
then prow/tide bot will auto merge the PR to master branch.

Signed-off-by: Sammy Huang <sammy.huang@zilliz.com>
pull/28794/head
Sammy Huang 2023-11-30 12:03:55 +08:00
parent 8b2b0d412c
commit 43680043e3
1 changed files with 14 additions and 0 deletions

14
.github/mergify.yml vendored
View File

@ -283,6 +283,20 @@ pull_request_rules:
add:
- ci-passed
- name: Assign the 'lgtm' and 'approved' labels following the successful testing of the 'Update Knowhere Commit'
conditions:
- or:
- base=master
- base=sql_beta
- base~=^2(\.\d+){1,2}$
- 'title~=Update Knowhere Commit'
- label=ci-passed
actions:
label:
add:
- lgtm
- approved
- name: Remove ci-passed label when status for code checker or ut is not success-master
conditions:
- label!=manual-pass