mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 06:10:22 +00:00
ci: add mergify rules for release-v3.2
added mergify rules for backporting and for auto merging the PR. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
a92d8d7f2e
commit
72fa77a6d7
41
.mergify.yml
41
.mergify.yml
@ -218,6 +218,47 @@ pull_request_rules:
|
|||||||
strict_method: rebase
|
strict_method: rebase
|
||||||
dismiss_reviews: {}
|
dismiss_reviews: {}
|
||||||
delete_head_branch: {}
|
delete_head_branch: {}
|
||||||
|
- name: backport patches to release-v3.2 branch
|
||||||
|
conditions:
|
||||||
|
- base=master
|
||||||
|
- label=backport-to-release-v3.2
|
||||||
|
actions:
|
||||||
|
backport:
|
||||||
|
branches:
|
||||||
|
- release-v3.2
|
||||||
|
# automerge backports if CI successfully ran
|
||||||
|
- name: automerge backport release-v3.2
|
||||||
|
conditions:
|
||||||
|
- author=mergify[bot]
|
||||||
|
- base=release-v3.2
|
||||||
|
- label!=DNM
|
||||||
|
- "#approved-reviews-by>=1"
|
||||||
|
- "status-success=codespell"
|
||||||
|
- "status-success=multi-arch-build"
|
||||||
|
- "status-success=go-test"
|
||||||
|
- "status-success=golangci-lint"
|
||||||
|
- "status-success=gosec"
|
||||||
|
- "status-success=commitlint"
|
||||||
|
- "status-success=mod-check"
|
||||||
|
- "status-success=lint-extras"
|
||||||
|
- "#changes-requested-reviews-by=0"
|
||||||
|
- "status-success=ci/centos/containerized-tests"
|
||||||
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.19"
|
||||||
|
- "status-success=ci/centos/mini-e2e-helm/k8s-1.18"
|
||||||
|
- "status-success=ci/centos/mini-e2e/k8s-1.19"
|
||||||
|
- "status-success=ci/centos/mini-e2e/k8s-1.18"
|
||||||
|
- "status-success=ci/centos/upgrade-tests-cephfs"
|
||||||
|
- "status-success=ci/centos/upgrade-tests-rbd"
|
||||||
|
- "status-success=DCO"
|
||||||
|
actions:
|
||||||
|
merge:
|
||||||
|
method: rebase
|
||||||
|
rebase_fallback: merge
|
||||||
|
bot_account: ceph-csi-bot
|
||||||
|
strict: smart
|
||||||
|
strict_method: rebase
|
||||||
|
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