[skip e2e] Add robot comment when job failed (#14124)

Signed-off-by: Jenny Li <jing.li@zilliz.com>
pull/14125/head
Jenny Li 2021-12-24 09:51:13 +08:00 committed by GitHub
parent 046c99a20b
commit e510832627
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

21
.github/mergify.yml vendored
View File

@ -161,3 +161,24 @@ pull_request_rules:
label:
remove:
- ci-passed
- name: Add comment when jenkins job failed
conditions:
- base=master
- "check-failure=continuous-integration/jenkins/pr-merge"
actions:
comment:
message: |
@{{author}} E2e jenkins job failed, comment `/run-checks` can trigger the job again.
- name: Add comment when code checker or ut failed
conditions:
- base=master
- or:
- "check-failure=Code Checker AMD64 Ubuntu 18.04"
- "check-failure=Build and test AMD64 Ubuntu 18.04"
actions:
comment:
message: |
@{{author}} ut workflow job failed, comment `rerun ut` can trigger the job again.