mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
ci: update mergify rules for v3.0
updated mergify rules for auto backport and merging for release-v3.0 branch. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
a21d8fad69
commit
66a0b0953e
24
.mergify.yml
24
.mergify.yml
@ -123,6 +123,30 @@ pull_request_rules:
|
|||||||
strict: smart
|
strict: smart
|
||||||
dismiss_reviews: {}
|
dismiss_reviews: {}
|
||||||
delete_head_branch: {}
|
delete_head_branch: {}
|
||||||
|
- name: backport patches to release-v3.0 branch
|
||||||
|
conditions:
|
||||||
|
- base=master
|
||||||
|
- label=backport-to-release-v3.0
|
||||||
|
actions:
|
||||||
|
backport:
|
||||||
|
branches:
|
||||||
|
- release-v3.0
|
||||||
|
# automerge backports if CI successfully ran
|
||||||
|
- name: automerge backport release-v3.0
|
||||||
|
conditions:
|
||||||
|
- author=mergify[bot]
|
||||||
|
- base=release-v3.0
|
||||||
|
- label!=DNM
|
||||||
|
- "#changes-requested-reviews-by=0"
|
||||||
|
- "#approved-reviews-by>=1"
|
||||||
|
- "status-success=continuous-integration/travis-ci/pr"
|
||||||
|
actions:
|
||||||
|
merge:
|
||||||
|
method: rebase
|
||||||
|
rebase_fallback: merge
|
||||||
|
strict: smart
|
||||||
|
dismiss_reviews: {}
|
||||||
|
delete_head_branch: {}
|
||||||
- name: remove outdated approvals on ci/centos
|
- name: remove outdated approvals on ci/centos
|
||||||
conditions:
|
conditions:
|
||||||
- base=ci/centos
|
- base=ci/centos
|
||||||
|
Loading…
Reference in New Issue
Block a user