Skip to content

Commit 3bfc3db

Browse files
chore(config): migrate config .github/renovate.json5
1 parent 889be4f commit 3bfc3db

1 file changed

Lines changed: 219 additions & 126 deletions

File tree

.github/renovate.json5

Lines changed: 219 additions & 126 deletions
Original file line numberDiff line numberDiff line change
@@ -1,126 +1,219 @@
1-
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:recommended",
5-
":dependencyDashboard",
6-
":semanticCommits",
7-
":maintainLockFilesWeekly"
8-
],
9-
"commitMessageTopic": "{{depName}}",
10-
"commitMessageExtra": "to {{newVersion}}",
11-
"commitMessageSuffix": "",
12-
"labels": [
13-
"dependencies"
14-
],
15-
"ignorePaths": [
16-
"object-lease-operator/config/manager/kustomization.yaml"
17-
],
18-
"schedule": [
19-
"before 6am on monday"
20-
],
21-
"timezone": "UTC",
22-
"prConcurrentLimit": 3,
23-
"prHourlyLimit": 2,
24-
"packageRules": [
25-
{
26-
"matchDatasources": ["go", "golang-version"],
27-
"matchUpdateTypes": ["major"],
28-
"commitMessagePrefix": "feat(go)!: ",
29-
"addLabels": ["renovate/go"]
30-
},
31-
{
32-
"matchDatasources": ["go", "golang-version"],
33-
"matchUpdateTypes": ["minor"],
34-
"semanticCommitType": "feat",
35-
"semanticCommitScope": "go",
36-
"addLabels": ["renovate/go"]
37-
},
38-
{
39-
"matchDatasources": ["go", "golang-version"],
40-
"matchUpdateTypes": ["patch"],
41-
"semanticCommitType": "fix",
42-
"semanticCommitScope": "go",
43-
"addLabels": ["renovate/go"]
44-
},
45-
{
46-
"matchDatasources": ["docker"],
47-
"commitMessageTopic": "container image {{depName}}",
48-
"addLabels": ["renovate/container"]
49-
},
50-
{
51-
"matchDatasources": ["docker"],
52-
"matchUpdateTypes": ["major"],
53-
"commitMessagePrefix": "feat(container)!: "
54-
},
55-
{
56-
"matchDatasources": ["docker"],
57-
"matchUpdateTypes": ["minor"],
58-
"semanticCommitType": "feat",
59-
"semanticCommitScope": "container"
60-
},
61-
{
62-
"matchDatasources": ["docker"],
63-
"matchUpdateTypes": ["digest", "patch"],
64-
"semanticCommitType": "fix",
65-
"semanticCommitScope": "container"
66-
},
67-
{
68-
"matchManagers": ["github-actions"],
69-
"addLabels": ["renovate/github-action"],
70-
"groupName": "all github actions",
71-
"groupSlug": "all-github"
72-
},
73-
{
74-
"matchManagers": ["github-actions"],
75-
"matchUpdateTypes": ["major"],
76-
"commitMessagePrefix": "feat(github-action)!: "
77-
},
78-
{
79-
"matchManagers": ["github-actions"],
80-
"matchUpdateTypes": ["minor"],
81-
"semanticCommitType": "feat",
82-
"semanticCommitScope": "github-action"
83-
},
84-
{
85-
"matchManagers": ["github-actions"],
86-
"matchUpdateTypes": ["patch"],
87-
"semanticCommitType": "fix",
88-
"semanticCommitScope": "github-action"
89-
},
90-
{
91-
"matchManagers": ["npm"],
92-
"matchUpdateTypes": ["major"],
93-
"commitMessagePrefix": "feat(npm)!: ",
94-
"addLabels": ["renovate/npm"]
95-
},
96-
{
97-
"matchManagers": ["npm"],
98-
"matchUpdateTypes": ["minor"],
99-
"semanticCommitType": "feat",
100-
"semanticCommitScope": "npm",
101-
"addLabels": ["renovate/npm"]
102-
},
103-
{
104-
"matchManagers": ["npm"],
105-
"matchUpdateTypes": ["patch"],
106-
"semanticCommitType": "fix",
107-
"semanticCommitScope": "npm",
108-
"addLabels": ["renovate/npm"]
109-
},
110-
{
111-
"matchManagers": ["npm"],
112-
"matchPackagePatterns": ["^@openshift-console/"],
113-
"matchPaths": ["object-lease-console-plugin/**"],
114-
"groupName": "OpenShift Console SDK",
115-
"groupSlug": "openshift-console-sdk",
116-
"addLabels": ["renovate/npm", "renovate/openshift-sdk"]
117-
},
118-
{
119-
"matchManagers": ["npm"],
120-
"matchPackageNames": ["react", "react-dom", "@types/react", "@types/react-dom"],
121-
"matchPaths": ["object-lease-console-plugin/**"],
122-
"enabled": false,
123-
"addLabels": ["renovate/npm", "renovate/blocked"]
124-
}
125-
]
126-
}
1+
{
2+
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3+
extends: [
4+
'config:recommended',
5+
':dependencyDashboard',
6+
':semanticCommits',
7+
':maintainLockFilesWeekly',
8+
],
9+
commitMessageTopic: '{{depName}}',
10+
commitMessageExtra: 'to {{newVersion}}',
11+
commitMessageSuffix: '',
12+
labels: [
13+
'dependencies',
14+
],
15+
ignorePaths: [
16+
'object-lease-operator/config/manager/kustomization.yaml',
17+
],
18+
schedule: [
19+
'before 6am on monday',
20+
],
21+
timezone: 'UTC',
22+
prConcurrentLimit: 3,
23+
prHourlyLimit: 2,
24+
packageRules: [
25+
{
26+
matchDatasources: [
27+
'go',
28+
'golang-version',
29+
],
30+
matchUpdateTypes: [
31+
'major',
32+
],
33+
commitMessagePrefix: 'feat(go)!: ',
34+
addLabels: [
35+
'renovate/go',
36+
],
37+
},
38+
{
39+
matchDatasources: [
40+
'go',
41+
'golang-version',
42+
],
43+
matchUpdateTypes: [
44+
'minor',
45+
],
46+
semanticCommitType: 'feat',
47+
semanticCommitScope: 'go',
48+
addLabels: [
49+
'renovate/go',
50+
],
51+
},
52+
{
53+
matchDatasources: [
54+
'go',
55+
'golang-version',
56+
],
57+
matchUpdateTypes: [
58+
'patch',
59+
],
60+
semanticCommitType: 'fix',
61+
semanticCommitScope: 'go',
62+
addLabels: [
63+
'renovate/go',
64+
],
65+
},
66+
{
67+
matchDatasources: [
68+
'docker',
69+
],
70+
commitMessageTopic: 'container image {{depName}}',
71+
addLabels: [
72+
'renovate/container',
73+
],
74+
},
75+
{
76+
matchDatasources: [
77+
'docker',
78+
],
79+
matchUpdateTypes: [
80+
'major',
81+
],
82+
commitMessagePrefix: 'feat(container)!: ',
83+
},
84+
{
85+
matchDatasources: [
86+
'docker',
87+
],
88+
matchUpdateTypes: [
89+
'minor',
90+
],
91+
semanticCommitType: 'feat',
92+
semanticCommitScope: 'container',
93+
},
94+
{
95+
matchDatasources: [
96+
'docker',
97+
],
98+
matchUpdateTypes: [
99+
'digest',
100+
'patch',
101+
],
102+
semanticCommitType: 'fix',
103+
semanticCommitScope: 'container',
104+
},
105+
{
106+
matchManagers: [
107+
'github-actions',
108+
],
109+
addLabels: [
110+
'renovate/github-action',
111+
],
112+
groupName: 'all github actions',
113+
groupSlug: 'all-github',
114+
},
115+
{
116+
matchManagers: [
117+
'github-actions',
118+
],
119+
matchUpdateTypes: [
120+
'major',
121+
],
122+
commitMessagePrefix: 'feat(github-action)!: ',
123+
},
124+
{
125+
matchManagers: [
126+
'github-actions',
127+
],
128+
matchUpdateTypes: [
129+
'minor',
130+
],
131+
semanticCommitType: 'feat',
132+
semanticCommitScope: 'github-action',
133+
},
134+
{
135+
matchManagers: [
136+
'github-actions',
137+
],
138+
matchUpdateTypes: [
139+
'patch',
140+
],
141+
semanticCommitType: 'fix',
142+
semanticCommitScope: 'github-action',
143+
},
144+
{
145+
matchManagers: [
146+
'npm',
147+
],
148+
matchUpdateTypes: [
149+
'major',
150+
],
151+
commitMessagePrefix: 'feat(npm)!: ',
152+
addLabels: [
153+
'renovate/npm',
154+
],
155+
},
156+
{
157+
matchManagers: [
158+
'npm',
159+
],
160+
matchUpdateTypes: [
161+
'minor',
162+
],
163+
semanticCommitType: 'feat',
164+
semanticCommitScope: 'npm',
165+
addLabels: [
166+
'renovate/npm',
167+
],
168+
},
169+
{
170+
matchManagers: [
171+
'npm',
172+
],
173+
matchUpdateTypes: [
174+
'patch',
175+
],
176+
semanticCommitType: 'fix',
177+
semanticCommitScope: 'npm',
178+
addLabels: [
179+
'renovate/npm',
180+
],
181+
},
182+
{
183+
matchManagers: [
184+
'npm',
185+
],
186+
matchFileNames: [
187+
'object-lease-console-plugin/**',
188+
],
189+
groupName: 'OpenShift Console SDK',
190+
groupSlug: 'openshift-console-sdk',
191+
addLabels: [
192+
'renovate/npm',
193+
'renovate/openshift-sdk',
194+
],
195+
matchPackageNames: [
196+
'/^@openshift-console//',
197+
],
198+
},
199+
{
200+
matchManagers: [
201+
'npm',
202+
],
203+
matchPackageNames: [
204+
'react',
205+
'react-dom',
206+
'@types/react',
207+
'@types/react-dom',
208+
],
209+
matchFileNames: [
210+
'object-lease-console-plugin/**',
211+
],
212+
enabled: false,
213+
addLabels: [
214+
'renovate/npm',
215+
'renovate/blocked',
216+
],
217+
},
218+
],
219+
}

0 commit comments

Comments
 (0)