Skip to content

Commit 254434c

Browse files
⬆️: migrate config .github/renovate.json
1 parent 19f8afb commit 254434c

File tree

1 file changed

+30
-9
lines changed

1 file changed

+30
-9
lines changed

.github/renovate.json

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,19 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"rebaseWhen": "behind-base-branch",
44
"dependencyDashboard": true,
5-
"labels": ["dependencies", "no-stale"],
5+
"labels": [
6+
"dependencies",
7+
"no-stale"
8+
],
69
"commitMessagePrefix": "⬆️",
710
"commitMessageTopic": "{{depName}}",
811
"customManagers": [
912
{
1013
"customType": "regex",
11-
"fileMatch": ["/Dockerfile$", "/build.yaml$"],
14+
"managerFilePatterns": [
15+
"//Dockerfile$/",
16+
"//build.yaml$/"
17+
],
1218
"matchStringsStrategy": "any",
1319
"matchStrings": [
1420
"ARG BUILD_FROM=(?<depName>.*?):(?<currentValue>.*?)\\s+",
@@ -18,7 +24,9 @@
1824
},
1925
{
2026
"customType": "regex",
21-
"fileMatch": ["/Dockerfile$"],
27+
"managerFilePatterns": [
28+
"//Dockerfile$/"
29+
],
2230
"matchStringsStrategy": "any",
2331
"matchStrings": [
2432
"\\s\\s(?<package>[a-z0-9][a-z0-9-_]+)=(?<currentValue>[a-z0-9-_.]+)\\s+"
@@ -30,23 +38,36 @@
3038
],
3139
"packageRules": [
3240
{
33-
"matchDatasources": ["repology"],
41+
"matchDatasources": [
42+
"repology"
43+
],
3444
"automerge": true
3545
},
3646
{
3747
"groupName": "PHP",
38-
"matchDatasources": ["repology"],
48+
"matchDatasources": [
49+
"repology"
50+
],
3951
"automerge": true,
40-
"matchDepNames": ["/alpine.*/php.*/"]
52+
"matchDepNames": [
53+
"/alpine.*/php.*/"
54+
]
4155
},
4256
{
4357
"groupName": "Add-on base image",
44-
"matchDatasources": ["docker"]
58+
"matchDatasources": [
59+
"docker"
60+
]
4561
},
4662
{
4763
"groupName": "Add-on base image",
48-
"matchDatasources": ["docker"],
49-
"matchUpdateTypes": ["minor", "patch"],
64+
"matchDatasources": [
65+
"docker"
66+
],
67+
"matchUpdateTypes": [
68+
"minor",
69+
"patch"
70+
],
5071
"automerge": true
5172
}
5273
]

0 commit comments

Comments
 (0)