mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 11:50:18 +00:00
Update Mergify for v2.1.0 backports
Updated Mergify rules for backporting PR's to release-v2.1 branch and to auto merge the PR if author is mergify bot Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
6f73d4e3ca
commit
a3d2980311
24
.mergify.yml
24
.mergify.yml
@ -69,3 +69,27 @@ pull_request_rules:
|
||||
strict: smart
|
||||
dismiss_reviews: {}
|
||||
delete_head_branch: {}
|
||||
- name: backport patches to release-v2.1 branch
|
||||
conditions:
|
||||
- base=master
|
||||
- label=backport-to-release-v2.1
|
||||
actions:
|
||||
backport:
|
||||
branches:
|
||||
- release-v2.1
|
||||
# automerge backports if CI successfully ran
|
||||
- name: automerge backport release-v2.1
|
||||
conditions:
|
||||
- author=mergify[bot]
|
||||
- base=release-v2.1
|
||||
- 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: {}
|
||||
|
Loading…
Reference in New Issue
Block a user