-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathrenovate.json
44 lines (44 loc) · 1.03 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"^Dockerfile"
],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sENV .*?_VERSION=\"(?<currentValue>.*)\"\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
],
"extends": [
"config:best-practices",
":disableDependencyDashboard",
":pinAllExceptPeerDependencies",
":maintainLockFilesWeekly"
],
"packageRules": [
{
"automerge": true,
"matchCurrentVersion": "!/^0/",
"matchUpdateTypes": [
"minor",
"patch"
]
},
{
"matchDatasources": [
"docker"
],
"matchPackageNames": [
"ubuntu"
],
"versioning": "regex:^(?<compatibility>[a-z]+)-?(?<minor>\\d+)?$"
}
],
"postUpdateOptions": [
"gomodTidy"
],
"prConcurrentLimit": 2
}