Skip to content

Commit

Permalink
enhance: [skip e2e] add a rule to label ci-pass when go-sdk check sta…
Browse files Browse the repository at this point in the history
…tus (milvus-io#36105)

Signed-off-by: Yellow Shine <[email protected]>
  • Loading branch information
yellow-shine authored and chyezh committed Sep 11, 2024
1 parent 0af86cf commit a8d91cc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit a8d91cc

Please sign in to comment.