-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json
43 lines (43 loc) · 1.59 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
{
"extends": ["config:base", "schedule:weekly"],
"prHourlyLimit": 10,
"python": {
"enabled": true
},
"regexManagers": [
{
"description": "Update install-* Buildpack commands in Dockerfiles",
"fileMatch": ["(^|/|\\.)Dockerfile$", "(^|/)Dockerfile\\.[^/]*$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?)(?: packageName=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z-]+?))?\\sRUN install-[a-z]+? (?<depName>[a-z-]+?) (?<currentValue>.+?)\\s"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
},
{
"description": "Update version ENV variables in Dockerfiles",
"fileMatch": ["(^|/|\\.)Dockerfile$", "(^|/)Dockerfile\\.[^/]*$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?)(?: packageName=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z-]+?))?(?: depname=(?<depName>[a-z-]+?))?(?: tagPrefix=(?<tagPrefix>[a-z-/]+?))?\\sARG [A-Z_]+_VERSION=(?<currentValue>.+?)\\s"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}",
"extractVersionTemplate": "^{{#if tagPrefix}}{{tagPrefix}}{{/if}}(?<version>.*)$"
}
],
"packageRules": [
{
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true,
"platformAutomerge": true,
"automergeType": "pr"
}
],
"lockFileMaintenance": {
"enabled": true,
"labels": ["ignore"],
"automerge": true,
"automergeType": "pr",
"platformAutomerge": true
},
"labels": ["dependency"]
}