Skip to content

Commit b02567c

Browse files
⬆️: migrate config .github/renovate.json
1 parent 2b34da7 commit b02567c

File tree

1 file changed

+33
-10
lines changed

1 file changed

+33
-10
lines changed

.github/renovate.json

Lines changed: 33 additions & 10 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+"
@@ -29,7 +37,9 @@
2937
},
3038
{
3139
"customType": "regex",
32-
"fileMatch": ["/Dockerfile$"],
40+
"managerFilePatterns": [
41+
"//Dockerfile$/"
42+
],
3343
"matchStrings": [
3444
"ARG BOOKSTACK_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
3545
],
@@ -40,23 +50,36 @@
4050
],
4151
"packageRules": [
4252
{
43-
"matchDatasources": ["repology"],
53+
"matchDatasources": [
54+
"repology"
55+
],
4456
"automerge": true
4557
},
4658
{
4759
"groupName": "PHP",
48-
"matchDatasources": ["repology"],
60+
"matchDatasources": [
61+
"repology"
62+
],
4963
"automerge": true,
50-
"matchDepNames": ["/alpine.*/php.*/"]
64+
"matchDepNames": [
65+
"/alpine.*/php.*/"
66+
]
5167
},
5268
{
5369
"groupName": "Add-on base image",
54-
"matchDatasources": ["docker"]
70+
"matchDatasources": [
71+
"docker"
72+
]
5573
},
5674
{
5775
"groupName": "Add-on base image",
58-
"matchDatasources": ["docker"],
59-
"matchUpdateTypes": ["minor", "patch"],
76+
"matchDatasources": [
77+
"docker"
78+
],
79+
"matchUpdateTypes": [
80+
"minor",
81+
"patch"
82+
],
6083
"automerge": true
6184
}
6285
]

0 commit comments

Comments
 (0)