2019-05-29 17:48:05 +03:00
pull_request_rules :
2019-06-19 17:33:49 +03:00
- name : automatic strict merge when CI passes, has 2 reviews, no requests for change and is labeled 'ready-to-merge' unless labelled 'do-not-merge/breaking-change' or 'do-not-merge/work-in-progress'
2019-05-29 17:48:05 +03:00
conditions :
# Only pull-requests sent to the master branch
- base=master
# All Azure builds should be green:
- status-success=Uno.UI - CI
# CLA check must pass:
#- "status-success=license/cla"
# Note that this only matches people with write / admin access to the repo,
# see <https://doc.mergify.io/conditions.html#attribute-list>
- "#approved-reviews-by>=2"
2019-06-19 17:33:49 +03:00
- "#changes-requested-reviews-by=0"
2019-05-29 17:48:05 +03:00
# Pull-request must be labeled with:
- label=ready-to-merge
# Do not automatically merge pull-requests that are labelled as do-not-merge
# see <https://doc.mergify.io/examples.html#id6>
- label!=do-not-merge/breaking-change
- label!=do-not-merge/work-in-progress
# Note: mergify cannot break branch protection rules
actions :
merge :
method : merge
# https://doc.mergify.io/strict-workflow.html
# https://doc.mergify.io/actions.html#label