forked from ycm-core/YouCompleteMe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
75 lines (68 loc) · 2.39 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
70
71
72
73
74
75
# https://blog.mergify.com/strict-mode-deprecation/
queue_rules:
- name: default
# These define the conditions to get out of the merge queue
conditions:
- status-success=ubuntu-20.04 - Python 3.8 x64
- status-success=macos-12 - Python 3.8 x64
- status-success=windows-2019 - Python 3.9 x64
- status-success=windows-2019 - Python 3.9 x86
- status-success=Vim tests - new
- status-success=Vim tests - old
pull_request_rules:
- name: Automatic merge on Azure Pipelines and Reviewable successes
conditions:
- base=master
- "#approved-reviews-by>=2"
- status-success=ubuntu-20.04 - Python 3.8 x64
- status-success=macos-12 - Python 3.8 x64
- status-success=windows-2019 - Python 3.9 x64
- status-success=windows-2019 - Python 3.9 x86
- status-success=Vim tests - new
- status-success=Vim tests - old
- status-success=code-review/reviewable
actions: &merge-actions
queue:
method: merge
name: default
comment:
message: Thanks for sending a PR!
- name: Manual merge on Azure Pipelines and Maintainer Override
conditions:
- base=master
- status-success=ubuntu-20.04 - Python 3.8 x64
- status-success=macos-12 - Python 3.8 x64
- status-success=windows-2019 - Python 3.9 x64
- status-success=windows-2019 - Python 3.9 x86
- status-success=Vim tests - new
- status-success=Vim tests - old
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- label="Ship It!"
actions:
<<: *merge-actions
- name: Manual merge on Pipelines and Maintainer Override from owner PR
conditions:
- base=master
- author=puremourning
- status-success=ubuntu-20.04 - Python 3.8 x64
- status-success=macos-12 - Python 3.8 x64
- status-success=windows-2019 - Python 3.9 x64
- status-success=windows-2019 - Python 3.9 x86
- status-success=Vim tests - new
- status-success=Vim tests - old
- "#changes-requested-reviews-by=0"
- label="Ship It!"
actions:
<<: *merge-actions
- name: Merge auto pr when approved
conditions:
- author=VimspectorUpdateBot
- label=auto
- base=master
# Review
- status-success=code-review/reviewable
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
actions:
<<: *merge-actions