mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 11:50:18 +00:00
ci: don't dismiss review if PR has not merged
Pull requests are not going to be queued if at the same time the pull request review are dismiss Original-author: Mehdi ABAAKOUK <sileht@sileht.net> Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
177cc078e1
commit
a553157b15
15
.mergify.yml
15
.mergify.yml
@ -107,8 +107,15 @@ pull_request_rules:
|
||||
actions:
|
||||
queue:
|
||||
name: default
|
||||
dismiss_reviews: {}
|
||||
delete_head_branch: {}
|
||||
|
||||
- name: dismiss review of merged pull request
|
||||
conditions:
|
||||
- base~=^(devel)|(release-.+)$
|
||||
- merged
|
||||
actions:
|
||||
dismiss_reviews: {}
|
||||
|
||||
- name: automatic merge
|
||||
conditions:
|
||||
- label!=DNM
|
||||
@ -139,8 +146,8 @@ pull_request_rules:
|
||||
actions:
|
||||
queue:
|
||||
name: default
|
||||
dismiss_reviews: {}
|
||||
delete_head_branch: {}
|
||||
|
||||
- name: automatic merge PR having ready-to-merge label
|
||||
conditions:
|
||||
- label!=DNM
|
||||
@ -170,7 +177,6 @@ pull_request_rules:
|
||||
actions:
|
||||
queue:
|
||||
name: default
|
||||
dismiss_reviews: {}
|
||||
delete_head_branch: {}
|
||||
- name: backport patches to release-v3.5 branch
|
||||
conditions:
|
||||
@ -249,7 +255,6 @@ pull_request_rules:
|
||||
actions:
|
||||
queue:
|
||||
name: default
|
||||
dismiss_reviews: {}
|
||||
delete_head_branch: {}
|
||||
- name: remove outdated approvals on ci/centos
|
||||
conditions:
|
||||
@ -272,7 +277,6 @@ pull_request_rules:
|
||||
actions:
|
||||
queue:
|
||||
name: default
|
||||
dismiss_reviews: {}
|
||||
delete_head_branch: {}
|
||||
- name: automatic merge PR having ready-to-merge label on ci/centos
|
||||
conditions:
|
||||
@ -287,7 +291,6 @@ pull_request_rules:
|
||||
actions:
|
||||
queue:
|
||||
name: default
|
||||
dismiss_reviews: {}
|
||||
delete_head_branch: {}
|
||||
##
|
||||
## Automatically set/remove labels
|
||||
|
Loading…
Reference in New Issue
Block a user