-
Notifications
You must be signed in to change notification settings - Fork 968
/
.mergify.yml
69 lines (61 loc) · 1.63 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
merge_queue:
max_parallel_checks: 3
queue_rules:
- name: main-queue
batch_size: 3
queue_conditions:
- "#approved-reviews-by >= 1"
- base = main
merge_method: merge
autosquash: true
- name: backport-apps-1.0-queue
batch_size: 3
queue_conditions:
- "#approved-reviews-by >= 1"
- base = maint-1.0
merge_method: merge
autosquash: true
- name: backport-libs-0.46-queue
batch_size: 3
queue_conditions:
- "#approved-reviews-by >= 1"
- base = maint-libs-0.46
merge_method: merge
autosquash: true
pull_request_rules:
- name: automatic merge to main or backport branch
conditions:
- label = "merge"
- label != "do-not-merge"
- "#approved-reviews-by >= 1"
- or:
- base = main
- base = maint-1.0
- base = maint-libs-0.46
actions:
queue:
- name: notify when a PR is removed from the queue
conditions:
- queue-dequeue-reason != none
- queue-dequeue-reason != pr-merged
actions:
comment:
message: >
Hey @{{author}}, your pull request has been dequeued due to the following
reason: {{queue_dequeue_reason}}.
Sorry about that, but you can requeue the PR by using `@mergifyio requeue`
if you think this was a mistake.
- name: backport PR to apps 1.0 lane
conditions:
- label = backport-1.0
actions:
backport:
branches:
- "maint-1.0"
- name: backport PR to libs 0.46 lane
conditions:
- label = backport-libs-0.46
actions:
backport:
branches:
- "maint-libs-0.46"