mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-18 12:20:24 +00:00
ceef9ff3a5
backport PR to release-v1.2.0 branch from master branch when label is set on PR Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
30 lines
697 B
YAML
30 lines
697 B
YAML
---
|
|
pull_request_rules:
|
|
- name: remove outdated approvals
|
|
conditions:
|
|
- base=master
|
|
actions:
|
|
dismiss_reviews:
|
|
approved: true
|
|
changes_requested: false
|
|
- name: automatic merge
|
|
conditions:
|
|
- label!=DNM
|
|
- '#approved-reviews-by>=2'
|
|
- 'status-success=continuous-integration/travis-ci/pr'
|
|
actions:
|
|
merge:
|
|
method: rebase
|
|
rebase_fallback: merge
|
|
strict: smart
|
|
dismiss_reviews: {}
|
|
delete_head_branch: {}
|
|
- name: backport patches to release branch
|
|
conditions:
|
|
- base=master
|
|
- label=backport-to-release-v1.2.0
|
|
actions:
|
|
backport:
|
|
branches:
|
|
- release-v1.2.0
|