Skip to content

Commit dcb84ab

Browse files
Migrate config renovate.json
1 parent 1ce262a commit dcb84ab

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

renovate.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["config:recommended"],
3+
"extends": [
4+
"config:recommended"
5+
],
46
"forkProcessing": "enabled",
57
"timezone": "America/Los_Angeles",
68
"configMigration": true,
@@ -9,25 +11,33 @@
911
"customManagers": [
1012
{
1113
"customType": "regex",
12-
"fileMatch": ["(^|/|\\.)Earthfile$"],
14+
"managerFilePatterns": [
15+
"/(^|/|\\.)Earthfile$/"
16+
],
1317
"matchStrings": [
1418
"#\\s*renovate:\\s*datasource=(?<datasource>.*?)\\s+depName=(?<depName>.*?)(\\s+versioning=(?<versioning>.*?))?\\s+ARG\\s+(?:--global\\s+)?.+_VERSION=(?<currentValue>.*?)\\s"
1519
],
1620
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
1721
},
1822
{
1923
"customType": "regex",
20-
"fileMatch": ["^.*\\.yml$"],
24+
"managerFilePatterns": [
25+
"/^.*\\.yml$/"
26+
],
2127
"matchStrings": [
2228
"#\\s*renovate:\\s*datasource=(?<datasource>.*?)\\s+depName=(?<depName>.*?)\\s+version:\\s+\"(?<currentValue>.*?)\""
2329
]
2430
},
2531
{
2632
"customType": "regex",
27-
"fileMatch": ["^earthly\\.sh$"],
33+
"managerFilePatterns": [
34+
"/^earthly\\.sh$/"
35+
],
2836
"datasourceTemplate": "docker",
2937
"depNameTemplate": "earthly/earthly",
30-
"matchStrings": ["earthly\\/earthly:(?<currentValue>.*?)\\s"]
38+
"matchStrings": [
39+
"earthly\\/earthly:(?<currentValue>.*?)\\s"
40+
]
3141
}
3242
]
3343
}

0 commit comments

Comments
 (0)