This repository has been archived by the owner on May 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.mergify.yml
121 lines (113 loc) · 3.38 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
pull_request_rules:
# Automatic Merging (humans)
- name: "Automatic merge for master when tagged and CI passes (LGTM: neutral)"
conditions:
# Tagged ready
- label=ready-to-merge
# CI test success
- status-success=unit-tests (10.x)
- status-success=unit-tests (12.x)
# Security check
- status-success=DeepScan
- status-success=security/snyk - package.json (thislooksfun)
- "status-neutral=LGTM analysis: JavaScript"
# Coverage check
- status-success=codecov/patch
- status-success=codecov/project
# Not WIP
- status-success=WIP
# On master branch
- base=master
actions:
merge:
method: merge
strict: true
# This rule is (hopefully) temporary, pending Mergifyio/mergify-engine#501
- name: "Automatic merge for master when tagged and CI passes (LGTM: success)"
conditions:
# Tagged ready
- label=ready-to-merge
# CI test success
- status-success=unit-tests (10.x)
- status-success=unit-tests (12.x)
# Security check
- status-success=DeepScan
- status-success=security/snyk - package.json (thislooksfun)
- "status-success=LGTM analysis: JavaScript"
# Coverage check
- status-success=codecov/patch
- status-success=codecov/project
# Not WIP
- status-success=WIP
# On master branch
- base=master
actions:
merge:
method: merge
strict: true
# Automatic Merging (bots)
- name: "Automatic merge for Greenkeeper pull requests (LGTM: neutral)"
conditions:
# Was sent from Greenkeeper
- author=greenkeeper[bot]
- status-success=greenkeeper/verify
# CI test success
- status-success=unit-tests (10.x)
- status-success=unit-tests (12.x)
# Security check
- status-success=DeepScan
- status-success=security/snyk - package.json (thislooksfun)
- "status-neutral=LGTM analysis: JavaScript"
# Coverage check
- status-success=codecov/patch
- status-success=codecov/project
# Not WIP
- status-success=WIP
# On master branch
- base=master
actions:
merge:
method: merge
strict: true
# This rule is (hopefully) temporary, pending Mergifyio/mergify-engine#501
- name: "Automatic merge for Greenkeeper pull requests (LGTM: success)"
conditions:
# Was sent from Greenkeeper
- author=greenkeeper[bot]
- status-success=greenkeeper/verify
# CI test success
- status-success=unit-tests (10.x)
- status-success=unit-tests (12.x)
# Security check
- status-success=DeepScan
- status-success=security/snyk - package.json (thislooksfun)
- "status-success=LGTM analysis: JavaScript"
# Coverage check
- status-success=codecov/patch
- status-success=codecov/project
# Not WIP
- status-success=WIP
# On master branch
- base=master
actions:
merge:
method: merge
strict: true
# Quality of life
- name: Delete head branch after merge
conditions: []
actions:
delete_head_branch: {}
- name: Remove outdated reviews
conditions:
- base=master
actions:
dismiss_reviews: {}
- name: Assign me
conditions:
- -author=greenkeeper[bot]
- base=master
actions:
assign:
users:
- thislooksfun