Skip to content

Commit e50b447

Browse files
chore(config): migrate config renovate.json
1 parent e9034ee commit e50b447

File tree

1 file changed

+23
-9
lines changed

1 file changed

+23
-9
lines changed

renovate.json

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"baseBranches": ["main"],
3+
"baseBranchPatterns": [
4+
"main"
5+
],
46
"branchPrefix": "renovate/",
57
"prHourlyLimit": 0,
68
"ignorePaths": [
@@ -12,13 +14,21 @@
1214
},
1315
"packageRules": [
1416
{
15-
"matchDatasources": ["docker"],
16-
"matchDepNames": ["quay.io/fedora/fedora"],
17+
"matchDatasources": [
18+
"docker"
19+
],
20+
"matchDepNames": [
21+
"quay.io/fedora/fedora"
22+
],
1723
"enabled": false
1824
},
1925
{
20-
"matchManagers": ["rpm"],
21-
"matchBaseBranches": ["main"],
26+
"matchManagers": [
27+
"rpm"
28+
],
29+
"matchBaseBranches": [
30+
"main"
31+
],
2232
"groupName": "RPM Updates",
2333
"commitMessageTopic": "RPM updates",
2434
"enabled": true,
@@ -31,16 +41,18 @@
3141
"automergeType": "branch"
3242
},
3343
{
34-
"matchDatasources": ["custom.oc"],
44+
"matchDatasources": [
45+
"custom.oc"
46+
],
3547
"extractVersion": "openshift-client-linux-(?<version>.+)\\.tar\\.gz"
3648
}
3749
],
3850
"customManagers": [
3951
{
4052
"customType": "regex",
4153
"description": "Update Fedora base image based on endoflife-date",
42-
"fileMatch": [
43-
"Dockerfile|Containerfile"
54+
"managerFilePatterns": [
55+
"/Dockerfile|Containerfile/"
4456
],
4557
"matchStrings": [
4658
"quay.io/fedora/fedora:(?<currentValue>.*)"
@@ -52,7 +64,9 @@
5264
{
5365
"customType": "regex",
5466
"datasourceTemplate": "custom.oc",
55-
"fileMatch": ["artifacts.lock.yaml"],
67+
"managerFilePatterns": [
68+
"/artifacts.lock.yaml/"
69+
],
5670
"depNameTemplate": "openshift-client",
5771
"versioningTemplate": "semver",
5872
"matchStrings": [

0 commit comments

Comments
 (0)