mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e]Add commit number check for pr (#15598)
Signed-off-by: Jenny Li <jing.li@zilliz.com>
This commit is contained in:
parent
405def679c
commit
bf23bff150
26
.github/mergify.yml
vendored
26
.github/mergify.yml
vendored
@ -180,4 +180,28 @@ pull_request_rules:
|
||||
actions:
|
||||
comment:
|
||||
message: |
|
||||
@{{author}} ut workflow job failed, comment `rerun ut` can trigger the job again.
|
||||
@{{author}} ut workflow job failed, comment `rerun ut` can trigger the job again.
|
||||
|
||||
|
||||
|
||||
|
||||
- name: Add `needs-rebase` label when more than one commit in pr
|
||||
conditions:
|
||||
- base=master
|
||||
- "#commits>1"
|
||||
actions:
|
||||
comment:
|
||||
message: |
|
||||
@{{author}}, please be sure the pr should only have one commit, check https://github.com/milvus-io/milvus/blob/master/CODE_REVIEW.md for more details.
|
||||
label:
|
||||
add:
|
||||
- needs-rebase
|
||||
|
||||
- name: Remove `needs-rebase` label when only one commit in pr
|
||||
conditions:
|
||||
- base=master
|
||||
- "#commits=1"
|
||||
actions:
|
||||
label:
|
||||
remove:
|
||||
- needs-rebase
|
||||
Loading…
x
Reference in New Issue
Block a user