mirror of https://github.com/ceph/ceph-ansible.git
107 lines
2.5 KiB
YAML
107 lines
2.5 KiB
YAML
pull_request_rules:
|
|
- name: automatic merge
|
|
conditions:
|
|
- label!=DNM
|
|
- '#approved-reviews-by>=1'
|
|
- 'status-success=Testing: ceph-ansible PR Pipeline'
|
|
actions:
|
|
merge:
|
|
method: rebase
|
|
rebase_fallback: merge
|
|
strict: smart
|
|
dismiss_reviews: {}
|
|
delete_head_branch: {}
|
|
- name: automatic merge on skip ci
|
|
conditions:
|
|
- label!=DNM
|
|
- title~=\[skip ci\]
|
|
- '#approved-reviews-by>=2'
|
|
actions:
|
|
merge:
|
|
method: rebase
|
|
rebase_fallback: merge
|
|
strict: smart
|
|
dismiss_reviews: {}
|
|
delete_head_branch: {}
|
|
- name: automerge backport 3.0
|
|
conditions:
|
|
- author=mergify[bot]
|
|
- base=stable-3.0
|
|
- label!=DNM
|
|
- 'status-success=Testing: ceph-ansible PR Pipeline'
|
|
actions:
|
|
merge:
|
|
method: rebase
|
|
rebase_fallback: merge
|
|
strict: smart
|
|
dismiss_reviews: {}
|
|
delete_head_branch: {}
|
|
- name: automerge backport 3.1
|
|
conditions:
|
|
- author=mergify[bot]
|
|
- base=stable-3.1
|
|
- label!=DNM
|
|
- 'status-success=Testing: ceph-ansible PR Pipeline'
|
|
actions:
|
|
merge:
|
|
method: rebase
|
|
rebase_fallback: merge
|
|
strict: smart
|
|
dismiss_reviews: {}
|
|
delete_head_branch: {}
|
|
- name: automerge backport 3.2
|
|
conditions:
|
|
- author=mergify[bot]
|
|
- base=stable-3.2
|
|
- label!=DNM
|
|
- 'status-success=Testing: ceph-ansible PR Pipeline'
|
|
actions:
|
|
merge:
|
|
method: rebase
|
|
rebase_fallback: merge
|
|
strict: smart
|
|
dismiss_reviews: {}
|
|
delete_head_branch: {}
|
|
- name: automerge backport 4.0
|
|
conditions:
|
|
- author=mergify[bot]
|
|
- base=stable-4.0
|
|
- label!=DNM
|
|
- 'status-success=Testing: ceph-ansible PR Pipeline'
|
|
actions:
|
|
merge:
|
|
method: rebase
|
|
rebase_fallback: merge
|
|
strict: smart
|
|
dismiss_reviews: {}
|
|
delete_head_branch: {}
|
|
# Backports
|
|
- actions:
|
|
backport:
|
|
branches:
|
|
- stable-3.0
|
|
conditions:
|
|
- label=backport-stable-3.0
|
|
name: backport stable-3.0
|
|
- actions:
|
|
backport:
|
|
branches:
|
|
- stable-3.1
|
|
conditions:
|
|
- label=backport-stable-3.1
|
|
name: backport stable-3.1
|
|
- actions:
|
|
backport:
|
|
branches:
|
|
- stable-3.2
|
|
conditions:
|
|
- label=backport-stable-3.2
|
|
name: backport stable-3.2
|
|
- actions:
|
|
backport:
|
|
branches:
|
|
- stable-4.0
|
|
conditions:
|
|
- label=backport-stable-4.0
|
|
name: backport stable-4.0
|