enhance: [skip e2e] add a rule to label ci-pass when go-sdk check status (#36105)

Signed-off-by: Yellow Shine <sammy.huang@zilliz.com>
pull/36125/head
yellow-shine 2024-09-09 16:17:06 +08:00 committed by GitHub
parent 3123093dd7
commit 73a34a5a71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 0 deletions

16
.github/mergify.yml vendored
View File

@ -7,6 +7,9 @@ misc:
- when_build_and_test_status_failed: &Build_AND_TEST_STATUS_FAILED_ON_UBUNTU_20_OR_UBUNTU_22
- &failed_on_ubuntu_20 'check-failure=Build and test AMD64 Ubuntu 20.04'
- &failed_on_ubuntu_22 'check-failure=Build and test AMD64 Ubuntu 22.04'
- when_go_sdk_status_success: &WHEN_GO_SDK_STATUS_SUCCESS
- 'status-success=go-sdk'
- 'status-success=milvus-sdk-go '
pull_request_rules:
- name: Add needs-dco label when DCO check failed
@ -47,6 +50,7 @@ pull_request_rules:
- base=master
- base~=^2(\.\d+){1,2}$
- or: *Build_AND_TEST_STATUS_SUCESS_ON_UBUNTU_20_OR_UBUNTU_22
- or: *WHEN_GO_SDK_STATUS_SUCCESS
- 'status-success=UT for Cpp'
- 'status-success=UT for Go'
- 'status-success=Integration Test'
@ -377,6 +381,18 @@ pull_request_rules:
message: |
@{{author}} E2e jenkins job failed, comment `/run-cpu-e2e` can trigger the job again.
- name: Add comment when go-sdk check failed
conditions:
- or:
- base=master
- base=sql_beta
- base~=^2(\.\d+){1,2}$
- 'check-failure=go-sdk'
actions:
comment:
message: |
@{{author}} go-sdk check failed, comment `rerun go-sdk` can trigger the job again.
- name: Add comment when code checker or ut failed -master
conditions:
- or: