Skip to content

Commit d5ecc45

Browse files
Migrate Renovate config (#11309)
1 parent 5e84413 commit d5ecc45

File tree

1 file changed

+32
-100
lines changed

1 file changed

+32
-100
lines changed

.github/renovate.json

Lines changed: 32 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,19 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:recommended",
5-
":semanticCommitsDisabled"
6-
],
3+
"extends": ["config:recommended", ":semanticCommitsDisabled"],
74
"prHourlyLimit": 0,
85
"prConcurrentLimit": 0,
9-
"postUpdateOptions": [
10-
"yarnDedupeHighest"
11-
],
6+
"postUpdateOptions": ["yarnDedupeHighest"],
127
"packageRules": [
138
{
14-
"matchDatasources": [
15-
"npm"
16-
],
17-
"addLabels": [
18-
"javascript"
19-
],
9+
"matchDatasources": ["npm"],
10+
"addLabels": ["javascript"],
2011
"minimumReleaseAge": "3 days",
21-
"reviewers": [
22-
"team:sig-ux"
23-
]
12+
"reviewers": ["team:sig-ux"]
2413
},
2514
{
2615
"description": "Should be upgraded in lockstep in order to keep their corresponding Jetty versions aligned",
27-
"matchManagers": [
28-
"maven"
29-
],
16+
"matchManagers": ["maven"],
3017
"groupName": "Winstone and Jetty",
3118
"matchPackageNames": [
3219
"org.eclipse.jetty.ee9:jetty-ee9-maven-plugin",
@@ -35,9 +22,7 @@
3522
},
3623
{
3724
"description": "Provided by Jetty and should be aligned with the version provided by the version of Jetty we deliver. See: https://github.com/jenkinsci/jenkins/pull/5211",
38-
"matchManagers": [
39-
"maven"
40-
],
25+
"matchManagers": ["maven"],
4126
"enabled": false,
4227
"matchPackageNames": [
4328
"jakarta.servlet:jakarta.servlet-api",
@@ -46,140 +31,87 @@
4631
},
4732
{
4833
"description": "Needs significant testing. See: https://github.com/jenkinsci/jenkins/pull/5112#issuecomment-744429487 and https://github.com/jenkinsci/jenkins/pull/5116#issuecomment-744526638",
49-
"matchManagers": [
50-
"maven"
51-
],
34+
"matchManagers": ["maven"],
5235
"allowedVersions": "<2.5.0",
53-
"matchPackageNames": [
54-
"org.codehaus.groovy:groovy-all"
55-
]
36+
"matchPackageNames": ["org.codehaus.groovy:groovy-all"]
5637
},
5738
{
5839
"description": "Consumed by Groovy and should be updated in lockstep with Groovy. See: https://github.com/jenkinsci/jenkins/pull/5184",
59-
"matchManagers": [
60-
"maven"
61-
],
40+
"matchManagers": ["maven"],
6241
"enabled": false,
63-
"matchPackageNames": [
64-
"org.fusesource.jansi:jansi"
65-
]
42+
"matchPackageNames": ["org.fusesource.jansi:jansi"]
6643
},
6744
{
6845
"description": "Contains incompatible API changes and needs compatibility work. See: https://github.com/jenkinsci/jenkins/pull/4224",
69-
"matchManagers": [
70-
"maven"
71-
],
46+
"matchManagers": ["maven"],
7247
"enabled": false,
73-
"matchPackageNames": [
74-
"org.jfree:jfreechart"
75-
]
48+
"matchPackageNames": ["org.jfree:jfreechart"]
7649
},
7750
{
7851
"description": "Starting with 7.x, Guice switches from javax.* to jakarta.* bindings. See https://github.com/google/guice/wiki/Guice700",
79-
"matchManagers": [
80-
"maven"
81-
],
52+
"matchManagers": ["maven"],
8253
"allowedVersions": "<7.0.0",
83-
"matchPackageNames": [
84-
"com.google.inject:guice-bom"
85-
]
54+
"matchPackageNames": ["com.google.inject:guice-bom"]
8655
},
8756
{
88-
"matchFileNames": [
89-
"core/pom.xml",
90-
"test/pom.xml",
91-
"war/pom.xml"
92-
],
93-
"matchPackageNames": [
94-
"org.jenkins-ci.main:remoting"
95-
],
57+
"matchFileNames": ["core/pom.xml", "test/pom.xml", "war/pom.xml"],
58+
"matchPackageNames": ["org.jenkins-ci.main:remoting"],
9659
"description": "Avoid updating the remoting.minimum.supported.version property but still update latest one by not placing this property in the parent pom.xml",
9760
"enabled": false
9861
},
9962
{
100-
"matchPackageNames": [
101-
"net.jcip:jcip-annotations"
102-
],
103-
"matchDatasources": [
104-
"maven"
105-
],
63+
"matchPackageNames": ["net.jcip:jcip-annotations"],
64+
"matchDatasources": ["maven"],
10665
"enabled": false,
10766
"description": "maven-metadata.xml is missing for this really old package which is required by renovate"
10867
}
10968
],
11069
"customManagers": [
11170
{
11271
"customType": "regex",
113-
"fileMatch": [
114-
"pom.xml"
115-
],
116-
"matchStrings": [
117-
"<node.version>(?<currentValue>.*?)</node.version>"
118-
],
72+
"managerFilePatterns": ["/pom.xml/"],
73+
"matchStrings": ["<node.version>(?<currentValue>.*?)</node.version>"],
11974
"depNameTemplate": "node",
12075
"datasourceTemplate": "node-version"
12176
},
12277
{
12378
"customType": "regex",
124-
"fileMatch": [
125-
"ath.sh"
126-
],
127-
"matchStrings": [
128-
"export ATH_VERSION=(?<currentValue>.*?)\n"
129-
],
79+
"managerFilePatterns": ["/ath.sh/"],
80+
"matchStrings": ["export ATH_VERSION=(?<currentValue>.*?)\n"],
13081
"depNameTemplate": "jenkins/ath",
13182
"datasourceTemplate": "docker",
13283
"versioningTemplate": "loose"
13384
},
13485
{
13586
"customType": "regex",
136-
"fileMatch": [
137-
".gitpod/Dockerfile"
138-
],
139-
"matchStrings": [
140-
"ARG MAVEN_VERSION=(?<currentValue>.*?)\n"
141-
],
87+
"managerFilePatterns": ["/.gitpod/Dockerfile/"],
88+
"matchStrings": ["ARG MAVEN_VERSION=(?<currentValue>.*?)\n"],
14289
"depNameTemplate": "org.apache.maven:maven-core",
14390
"datasourceTemplate": "maven"
14491
},
14592
{
14693
"customType": "regex",
147-
"fileMatch": [
148-
"core/src/site/site.xml"
149-
],
150-
"matchStrings": [
151-
"lit@(?<currentValue>.*?)/"
152-
],
94+
"managerFilePatterns": ["/core/src/site/site.xml/"],
95+
"matchStrings": ["lit@(?<currentValue>.*?)/"],
15396
"depNameTemplate": "lit",
15497
"datasourceTemplate": "npm"
15598
},
15699
{
157100
"customType": "regex",
158-
"fileMatch": [
159-
"core/src/site/site.xml"
160-
],
161-
"matchStrings": [
162-
"webcomponentsjs@(?<currentValue>.*?)/"
163-
],
101+
"managerFilePatterns": ["/core/src/site/site.xml/"],
102+
"matchStrings": ["webcomponentsjs@(?<currentValue>.*?)/"],
164103
"depNameTemplate": "@webcomponents/webcomponentsjs",
165104
"datasourceTemplate": "npm"
166105
},
167106
{
168107
"customType": "regex",
169-
"fileMatch": [
170-
"core/src/site/site.xml"
171-
],
172-
"matchStrings": [
173-
"<version>(?<currentValue>.*?)</version>"
174-
],
108+
"managerFilePatterns": ["/core/src/site/site.xml/"],
109+
"matchStrings": ["<version>(?<currentValue>.*?)</version>"],
175110
"depNameTemplate": "org.apache.maven.skins:maven-fluido-skin",
176111
"datasourceTemplate": "maven"
177112
}
178113
],
179-
"labels": [
180-
"dependencies",
181-
"skip-changelog"
182-
],
114+
"labels": ["dependencies", "skip-changelog"],
183115
"rebaseWhen": "conflicted",
184116
"ignorePaths": [
185117
"**/node_modules/**",

0 commit comments

Comments
 (0)