Skip to content

Commit 4846fd6

Browse files
authored
Merge pull request #5 from stacklok/renovate/migrate-config
chore(config): migrate renovate config
2 parents f0bb1fd + 26da194 commit 4846fd6

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

renovate.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,19 @@
33
"extends": [
44
"config:recommended"
55
],
6-
"labels": ["dependencies"],
7-
"postUpdateOptions": ["gomodTidy"],
6+
"labels": [
7+
"dependencies"
8+
],
9+
"postUpdateOptions": [
10+
"gomodTidy"
11+
],
812
"customManagers": [
913
{
1014
"customType": "regex",
1115
"description": "Update Docker/OCI image versions in registry YAML files",
12-
"fileMatch": ["^registry/.*/spec\\.ya?ml$"],
16+
"managerFilePatterns": [
17+
"/^registry/.*/spec\\.ya?ml$/"
18+
],
1319
"matchStrings": [
1420
"image:\\s*[\"']?(?<depName>[^:\"'\\s]+):(?<currentValue>[^\"'\\s]+)[\"']?\\s*(?:#.*)?"
1521
],
@@ -19,8 +25,12 @@
1925
"packageRules": [
2026
{
2127
"description": "Automerge patch updates for registry images",
22-
"matchPaths": ["registry/**"],
23-
"matchUpdateTypes": ["patch"],
28+
"matchFileNames": [
29+
"registry/**"
30+
],
31+
"matchUpdateTypes": [
32+
"patch"
33+
],
2434
"automerge": true
2535
}
2636
],

0 commit comments

Comments
 (0)