Skip to content

Commit 74d6785

Browse files
⬆️: migrate config .github/renovate.json
1 parent a78272c commit 74d6785

File tree

1 file changed

+51
-15
lines changed

1 file changed

+51
-15
lines changed

.github/renovate.json

Lines changed: 51 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"schedule": ["before 2am"],
3+
"schedule": [
4+
"before 2am"
5+
],
46
"rebaseWhen": "behind-base-branch",
57
"dependencyDashboard": true,
6-
"labels": ["dependencies", "no-stale"],
8+
"labels": [
9+
"dependencies",
10+
"no-stale"
11+
],
712
"commitMessagePrefix": "⬆️",
813
"commitMessageTopic": "{{depName}}",
9-
"regexManagers": [
14+
"customManagers": [
1015
{
11-
"fileMatch": ["/Dockerfile$", "/build.yaml$"],
16+
"customType": "regex",
17+
"fileMatch": [
18+
"/Dockerfile$",
19+
"/build.yaml$"
20+
],
1221
"matchStringsStrategy": "any",
1322
"matchStrings": [
1423
"ARG BUILD_FROM=(?<depName>.*?):(?<currentValue>.*?)\\s+",
@@ -17,7 +26,10 @@
1726
"datasourceTemplate": "docker"
1827
},
1928
{
20-
"fileMatch": ["/Dockerfile$"],
29+
"customType": "regex",
30+
"fileMatch": [
31+
"/Dockerfile$"
32+
],
2133
"matchStrings": [
2234
"ARG BASHIO_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
2335
],
@@ -26,7 +38,10 @@
2638
"versioningTemplate": "semver"
2739
},
2840
{
29-
"fileMatch": ["/Dockerfile$"],
41+
"customType": "regex",
42+
"fileMatch": [
43+
"/Dockerfile$"
44+
],
3045
"matchStrings": [
3146
"ARG S6_OVERLAY_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
3247
],
@@ -36,7 +51,10 @@
3651
"extractVersionTemplate": "^v(?<version>.*)$"
3752
},
3853
{
39-
"fileMatch": ["/Dockerfile$"],
54+
"customType": "regex",
55+
"fileMatch": [
56+
"/Dockerfile$"
57+
],
4058
"matchStrings": [
4159
"ARG TEMPIO_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
4260
],
@@ -45,7 +63,10 @@
4563
"versioningTemplate": "loose"
4664
},
4765
{
48-
"fileMatch": ["/Dockerfile$"],
66+
"customType": "regex",
67+
"fileMatch": [
68+
"/Dockerfile$"
69+
],
4970
"matchStringsStrategy": "any",
5071
"matchStrings": [
5172
"\\s\\s(?<package>[a-z0-9][a-z0-9-]+)=(?<currentValue>[a-z0-9-:_+~.]+)\\s+"
@@ -57,23 +78,38 @@
5778
],
5879
"packageRules": [
5980
{
60-
"matchDatasources": ["github-releases"],
61-
"matchDepNames": ["hassio-addons/bashio"],
62-
"matchUpdateTypes": ["minor", "patch"],
81+
"matchDatasources": [
82+
"github-releases"
83+
],
84+
"matchDepNames": [
85+
"hassio-addons/bashio"
86+
],
87+
"matchUpdateTypes": [
88+
"minor",
89+
"patch"
90+
],
6391
"automerge": true
6492
},
6593
{
66-
"matchDatasources": ["repology"],
94+
"matchDatasources": [
95+
"repology"
96+
],
6797
"automerge": true
6898
},
6999
{
70100
"groupName": "Debian base image",
71-
"matchDatasources": ["docker"]
101+
"matchDatasources": [
102+
"docker"
103+
]
72104
},
73105
{
74106
"groupName": "Debian base image",
75-
"matchDatasources": ["docker"],
76-
"matchUpdateTypes": ["patch"],
107+
"matchDatasources": [
108+
"docker"
109+
],
110+
"matchUpdateTypes": [
111+
"patch"
112+
],
77113
"automerge": true
78114
}
79115
]

0 commit comments

Comments
 (0)