-
Notifications
You must be signed in to change notification settings - Fork 7
/
renovate.json
247 lines (247 loc) · 7.9 KB
/
renovate.json
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"branchPrefix": "renovate-",
"labels": ["Renovate", "Dependencies"],
"commitMessageAction": "Renovate update",
"includeForks": true,
"lockFileMaintenance": {
"enabled": false
},
"vulnerabilityAlerts": {
"groupName": "Security Alerts",
"labels": ["Dependencies", "Renovate", "SecurityAlert"],
"dependencyDashboardApproval": false,
"stabilityDays": 0,
"rangeStrategy": "update-lockfile",
"commitMessagePrefix": "[SECURITY]",
"branchTopic": "{{{datasource}}}-{{{depName}}}-vulnerability",
"prCreation": "immediate",
"prPriority": 5
},
"prConcurrentLimit": 1,
"prHourlyLimit": 1,
"branchConcurrentLimit": 5,
"enabledManagers": [
"dockerfile",
"docker-compose",
"npm",
"composer",
"github-actions",
"gomod",
"terraform",
"pip_requirements",
"pip-compile",
"pipenv",
"pyenv",
"setup-cfg",
"pip_setup"
],
"packageRules": [
{
"description": [
"cypress: bundle updates to package.json and dockerfile",
"allow major version updates"
],
"labels": ["devDependencies", "Renovate", "Cypress"],
"groupName": "Cypress",
"matchUpdateTypes": ["major"],
"matchManagers": ["dockerfile", "npm"],
"matchPackagePatterns": ["cypress" , "locust"]
},
{
"description": [
"dev tools: allow major updates only for dev tools and aws-sdk",
"note: this may fail if other packages depend on existing versions"
],
"labels": ["devDependencies", "Renovate", "DevTools"],
"matchUpdateTypes": ["major"],
"matchManagers": ["composer"],
"matchPackageNames": ["vimeo/psalm", "phpunit/phpunit", "aws/aws-sdk-php"]
},
{
"description": [
"Github Actions: bundle all updates together"
],
"labels": ["devDependencies", "Renovate", "GithubActions"],
"groupName": "Github Actions",
"automerge": true,
"schedule": [
"after 6am and before 9am on Monday"
],
"matchUpdateTypes": ["minor", "patch", "digest"],
"stabilityDays": 3,
"matchManagers": ["github-actions"]
},
{
"description": [
"Terraform: bundle all updates together"
],
"labels": ["devDependencies", "Renovate", "Terraform"],
"groupName": "Terraform",
"matchUpdateTypes": ["minor", "patch"],
"matchManagers": ["terraform"]
},
{
"description": [
"No updates to postgres, redis, php or python docker images",
"postgres: keep in sync with live",
"redis: keep in sync with live",
"php: 8.2 upgrade needs to be managed manually"
],
"matchUpdateTypes": ["major", "minor", "patch"],
"matchManagers": ["dockerfile", "docker-compose", "composer"],
"matchPackageNames": ["postgres", "redis", "php", "python"],
"enabled": false
},
{
"description": [
"No updates to PHP PDF libraries (too sensitive and risky)"
],
"matchUpdateTypes": ["major", "minor", "patch"],
"matchManagers": ["composer"],
"matchPackageNames": ["tecnickcom/tcpdf", "mikehaertl/php-pdftk"],
"enabled": false
},
{
"description": [
"No major version updates except for dev tools"
],
"matchUpdateTypes": ["major"],
"excludePackageNames": ["vimeo/psalm", "phpunit/phpunit"],
"excludePackagePatterns": ["cypress" , "locust"],
"enabled": false
},
{
"description": [
"admin composer minor and patch updates (PHP 8.2, stable for 3 days)",
"These might be automerged once we're comfortable with Renovate"
],
"automerge": false,
"groupName": "admin minor and patch updates (PHP 8.2)",
"groupSlug": "admin-minor-patch-updates-php82",
"labels": ["Dependencies", "Renovate", "PHP 8.2"],
"matchManagers": ["composer"],
"matchUpdateTypes": ["minor", "patch"],
"excludePackageNames": ["php"],
"matchFiles": [
"service-admin/composer.json"
],
"prCreation": "immediate",
"prPriority": 4,
"stabilityDays": 3
},
{
"description": [
"front composer minor and patch updates (PHP 8.2, stable for 3 days)",
"These might be automerged once we're comfortable with Renovate"
],
"automerge": false,
"groupName": "front minor and patch updates (PHP 8.2)",
"groupSlug": "front-minor-patch-updates-php82",
"labels": ["Dependencies", "Renovate", "PHP 8.2"],
"matchManagers": ["composer"],
"matchUpdateTypes": ["minor", "patch"],
"excludePackageNames": ["php"],
"matchFiles": [
"service-front/composer.json"
],
"prCreation": "immediate",
"prPriority": 4,
"stabilityDays": 3
},
{
"description": [
"api composer minor and patch updates (PHP 8.2, stable for 3 days)",
"These might be automerged once we're comfortable with Renovate"
],
"automerge": false,
"groupName": "api minor and patch updates (PHP 8.2)",
"groupSlug": "api-minor-patch-updates-php82",
"labels": ["Dependencies", "Renovate", "PHP 8.2"],
"matchManagers": ["composer"],
"matchUpdateTypes": ["minor", "patch"],
"excludePackageNames": ["php"],
"matchFiles": [
"service-api/composer.json"
],
"prCreation": "immediate",
"prPriority": 4,
"stabilityDays": 3
},
{
"description": [
"pdf composer minor and patch updates (PHP 8.1, stable for 3 days)",
"These might be automerged once we're comfortable with Renovate"
],
"automerge": false,
"groupName": "pdf minor and patch updates (PHP 8.1)",
"groupSlug": "pdf-minor-patch-updates-php81",
"labels": ["Dependencies", "Renovate", "PHP 8.1"],
"matchManagers": ["composer"],
"matchUpdateTypes": ["minor", "patch"],
"excludePackageNames": ["php"],
"matchFiles": [
"service-pdf/composer.json"
],
"prCreation": "immediate",
"prPriority": 4,
"stabilityDays": 3
},
{
"description": [
"shared composer minor and patch updates (PHP 8.2, stable for 3 days)",
"These might be automerged once we're comfortable with Renovate"
],
"automerge": false,
"groupName": "shared minor and patch updates (PHP 8.2)",
"groupSlug": "shared-minor-patch-updates-php82",
"labels": ["Dependencies", "Renovate", "PHP 8.2"],
"matchManagers": ["composer"],
"matchUpdateTypes": ["minor", "patch"],
"excludePackageNames": ["php"],
"matchFiles": [
"shared/composer.json"
],
"prCreation": "immediate",
"prPriority": 4,
"stabilityDays": 3
},
{
"description": [
"npm minor and patch updates (stable for 3 days)",
"These might be automerged once we're comfortable with Renovate"
],
"automerge": false,
"groupName": "minor and patch updates (npm)",
"groupSlug": "all-minor-patch-updates-npm",
"labels": ["Dependencies", "Renovate", "nodejs"],
"matchManagers": ["npm"],
"matchUpdateTypes": ["minor", "patch"],
"matchFiles": [
"package.json",
"service-front/package.json"
],
"prCreation": "immediate",
"prPriority": 4,
"stabilityDays": 3
},
{
"description": [
"python minor and patch updates (stable for 3 days)"
],
"automerge": false,
"groupName": "minor and patch updates (Python)",
"groupSlug": "all-minor-patch-updates-python",
"labels": ["Dependencies", "Renovate"],
"matchManagers": ["pip_requirements", "pip-compile", "pipenv", "pyenv", "setup-cfg", "pip_setup"],
"matchUpdateTypes": ["minor", "patch"],
"prCreation": "immediate",
"prPriority": 4,
"stabilityDays": 3
}
],
"pip-compile": {
"fileMatch": ["(^|/)requirements\\.in$"]
}
}