|
6 | 6 | ], |
7 | 7 | ignorePresets: [ |
8 | 8 | ':ignoreModulesAndTests', // needed to keep maven-extension test pom files up-to-date |
| 9 | + 'workarounds:javaLTSVersions', // Allow all Java major versions, not just LTS |
9 | 10 | ], |
10 | 11 | prHourlyLimit: 5, // we have a large number of parallel runners |
11 | 12 | labels: [ |
12 | | - 'dependencies' |
| 13 | + 'dependencies', |
13 | 14 | ], |
14 | 15 | packageRules: [ |
15 | 16 | { |
16 | 17 | // reduces the number of Renovate PRs |
17 | 18 | // (patch updates are typically non-breaking) |
18 | | - "groupName": "all patch versions", |
19 | | - "matchUpdateTypes": ["patch"], |
20 | | - "schedule": ["before 8am every weekday"] |
| 19 | + groupName: 'all patch versions', |
| 20 | + matchUpdateTypes: [ |
| 21 | + 'patch', |
| 22 | + ], |
| 23 | + schedule: [ |
| 24 | + 'before 8am every weekday', |
| 25 | + ], |
21 | 26 | }, |
22 | 27 | { |
23 | 28 | // avoids these Renovate PRs from trickling in throughout the week |
24 | 29 | // (consolidating the review process) |
25 | | - "matchUpdateTypes": ["minor", "major"], |
26 | | - "schedule": ["before 8am on Monday"] |
| 30 | + matchUpdateTypes: [ |
| 31 | + 'minor', |
| 32 | + 'major', |
| 33 | + ], |
| 34 | + schedule: [ |
| 35 | + 'before 8am on Monday', |
| 36 | + ], |
| 37 | + matchPackageNames: [ |
| 38 | + '!io.opentelemetry:**', |
| 39 | + '!io.opentelemetry.*:**', |
| 40 | + ], |
27 | 41 | }, |
28 | 42 | { |
29 | 43 | matchPackageNames: [ |
|
54 | 68 | ], |
55 | 69 | enabled: false, |
56 | 70 | }, |
| 71 | + { |
| 72 | + // junit 6+ requires Java 17+ |
| 73 | + matchPackageNames: [ |
| 74 | + 'org.junit:**', |
| 75 | + 'org.junit.jupiter:**', |
| 76 | + ], |
| 77 | + matchUpdateTypes: [ |
| 78 | + 'major', |
| 79 | + ], |
| 80 | + enabled: false, |
| 81 | + }, |
57 | 82 | { |
58 | 83 | // junit-pioneer 2+ requires Java 11+ |
59 | 84 | matchPackageNames: [ |
|
71 | 96 | ], |
72 | 97 | enabled: false, |
73 | 98 | matchPackageNames: [ |
74 | | - 'org.mockito:{/,}**', |
| 99 | + 'org.mockito:**', |
75 | 100 | ], |
76 | 101 | }, |
77 | 102 | { |
|
109 | 134 | matchCurrentVersion: '3.5.0', |
110 | 135 | enabled: false, |
111 | 136 | matchPackageNames: [ |
112 | | - 'org.apache.maven:{/,}**', |
| 137 | + 'org.apache.maven:**', |
113 | 138 | ], |
114 | 139 | }, |
115 | 140 | { |
116 | 141 | groupName: 'spotless packages', |
117 | 142 | matchPackageNames: [ |
118 | | - 'com.diffplug.spotless{/,}**', |
| 143 | + 'com.diffplug.spotless', |
| 144 | + 'com.diffplug.spotless:**', |
119 | 145 | ], |
120 | 146 | }, |
121 | 147 | { |
122 | 148 | groupName: 'hipparchus packages', |
123 | 149 | matchPackageNames: [ |
124 | | - 'org.hipparchus{/,}**', |
| 150 | + 'org.hipparchus:**', |
125 | 151 | ], |
126 | 152 | }, |
127 | 153 | { |
128 | 154 | groupName: 'errorprone packages', |
129 | 155 | matchPackageNames: [ |
130 | | - 'com.google.errorprone{/,}**', |
| 156 | + 'com.google.errorprone:**', |
| 157 | + ], |
| 158 | + }, |
| 159 | + { |
| 160 | + groupName: 'jackson packages', |
| 161 | + matchPackageNames: [ |
| 162 | + 'com.fasterxml.jackson:**', |
| 163 | + 'com.fasterxml.jackson.core:**', |
| 164 | + ], |
| 165 | + }, |
| 166 | + { |
| 167 | + groupName: 'develocity packages', |
| 168 | + matchPackageNames: [ |
| 169 | + 'com.gradle.develocity:**', |
| 170 | + ], |
| 171 | + }, |
| 172 | + { |
| 173 | + groupName: 'bouncycastle packages', |
| 174 | + matchPackageNames: [ |
| 175 | + 'org.bouncycastle:**', |
131 | 176 | ], |
132 | 177 | }, |
133 | 178 | { |
|
137 | 182 | ], |
138 | 183 | enabled: false, |
139 | 184 | matchPackageNames: [ |
140 | | - 'org.openjdk.jmc{/,}**', |
| 185 | + 'org.openjdk.jmc:**', |
141 | 186 | ], |
142 | 187 | }, |
143 | 188 | { |
|
148 | 193 | matchCurrentVersion: '5.0.0', |
149 | 194 | enabled: false, |
150 | 195 | matchPackageNames: [ |
151 | | - 'jakarta.servlet:{/,}**', |
| 196 | + 'jakarta.servlet:**', |
152 | 197 | ], |
153 | 198 | }, |
154 | 199 | { |
|
161 | 206 | ], |
162 | 207 | enabled: false, |
163 | 208 | matchPackageNames: [ |
164 | | - 'org.springframework.boot{/,}**', |
| 209 | + 'org.springframework.boot:**', |
165 | 210 | ], |
166 | 211 | }, |
167 | 212 | ], |
|
170 | 215 | customType: 'regex', |
171 | 216 | datasourceTemplate: 'npm', |
172 | 217 | managerFilePatterns: [ |
173 | | - '/^.github/workflows//', |
| 218 | + '.github/workflows/**', |
174 | 219 | ], |
175 | 220 | matchStrings: [ |
176 | 221 | 'npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)', |
177 | 222 | ], |
178 | 223 | }, |
| 224 | + { |
| 225 | + customType: 'regex', |
| 226 | + datasourceTemplate: 'java-version', |
| 227 | + managerFilePatterns: [ |
| 228 | + '.github/workflows/**', |
| 229 | + ], |
| 230 | + matchStrings: [ |
| 231 | + '(?<currentValue>\\d+) # renovate: datasource=java-version', |
| 232 | + ], |
| 233 | + depNameTemplate: 'java', |
| 234 | + extractVersionTemplate: '^(?<version>\\d+)', |
| 235 | + }, |
| 236 | + { |
| 237 | + customType: 'regex', |
| 238 | + datasourceTemplate: 'github-releases', |
| 239 | + managerFilePatterns: [ |
| 240 | + '**/build.gradle.kts', |
| 241 | + ], |
| 242 | + matchStrings: [ |
| 243 | + '"https://github.com/(?<depName>[^/]+/[^/]+)/zipball/(?<currentValue>.+?)"', |
| 244 | + ], |
| 245 | + }, |
179 | 246 | ], |
180 | 247 | } |
0 commit comments