forked from nventive/UnoApplicationTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
44 lines (35 loc) · 1.41 KB
/
.mergify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
queue_rules:
- name: default
conditions:
# Conditions to get out of the queue (= merged)
- check-success=nventive.UnoApplicationTemplate
pull_request_rules:
- 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'
conditions:
# Only pull-requests sent to the main branch
- base=main
# All Azure builds should be green:
- status-success=nventive.UnoApplicationTemplate
# 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"
- "#changes-requested-reviews-by=0"
# 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:
queue:
method: merge
name: default
- name: automatic merge for allcontributors pull requests
conditions:
- author=allcontributors[bot]
actions:
merge:
method: merge