Skip to content

Commit b800589

Browse files
⬆️: migrate config .github/renovate.json
1 parent b83e09a commit b800589

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 ADGUARD_HOME_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
3545
],
@@ -39,22 +49,35 @@
3949
],
4050
"packageRules": [
4151
{
42-
"matchDatasources": ["repology"],
52+
"matchDatasources": [
53+
"repology"
54+
],
4355
"automerge": true
4456
},
4557
{
4658
"groupName": "Add-on base image",
47-
"matchDatasources": ["docker"]
59+
"matchDatasources": [
60+
"docker"
61+
]
4862
},
4963
{
5064
"groupName": "Add-on base image",
51-
"matchDatasources": ["docker"],
52-
"matchUpdateTypes": ["minor", "patch"],
65+
"matchDatasources": [
66+
"docker"
67+
],
68+
"matchUpdateTypes": [
69+
"minor",
70+
"patch"
71+
],
5372
"automerge": true
5473
},
5574
{
56-
"matchDepNames": ["AdguardTeam/AdGuardHome"],
57-
"matchUpdateTypes": ["patch"],
75+
"matchDepNames": [
76+
"AdguardTeam/AdGuardHome"
77+
],
78+
"matchUpdateTypes": [
79+
"patch"
80+
],
5881
"automerge": true
5982
}
6083
]

0 commit comments

Comments
 (0)