|
7 | 7 | ignorePaths: [ |
8 | 8 | 'instrumentation/**', |
9 | 9 | ], |
10 | | - // needed in order to get patch-only updates in package rules below |
11 | | - // unfortunately you can't combine updateTypes and separateMinorPatch in the same package rule |
12 | | - // so we have to apply it globally here, see |
13 | | - // https://github.com/renovatebot/renovate/discussions/8399#discussioncomment-305798 |
14 | | - separateMinorPatch: true, |
15 | 10 | packageRules: [ |
16 | 11 | { |
17 | 12 | // this is to reduce the number of renovate PRs |
|
23 | 18 | 'schedule:weekly', |
24 | 19 | ], |
25 | 20 | groupName: 'weekly update', |
26 | | - separateMinorPatch: false, // overrides separateMinorPatch specified above |
27 | 21 | }, |
28 | 22 | { |
29 | 23 | matchPackageNames: [ |
|
151 | 145 | matchPackageNames: [ |
152 | 146 | 'uk.org.webcompere:system-stubs-jupiter', |
153 | 147 | ], |
154 | | - matchUpdateTypes: [ |
155 | | - 'major', |
156 | | - 'minor', |
157 | | - ], |
158 | | - enabled: false, |
| 148 | + allowedVersions: '/^2\.0\./', |
159 | 149 | }, |
160 | 150 | { |
161 | 151 | // wiremock 3+ requires Java 11+ |
|
226 | 216 | matchPackageNames: [ |
227 | 217 | 'ch.qos.logback:**', |
228 | 218 | ], |
229 | | - matchUpdateTypes: [ |
230 | | - 'major', |
231 | | - 'minor', |
232 | | - ], |
233 | | - enabled: false, |
| 219 | + allowedVersions: '/^1\.2\./', |
234 | 220 | }, |
235 | 221 | { |
236 | 222 | // intentionally using slf4j 1 in this smoke tests |
|
261 | 247 | ], |
262 | 248 | }, |
263 | 249 | { |
264 | | - // intentionally aligning both netty 4.0 and 4.1 version in this convention |
| 250 | + // intentionally aligning netty 4.0 versions in this convention |
265 | 251 | matchFileNames: [ |
266 | 252 | 'conventions/src/main/kotlin/otel.java-conventions.gradle.kts', |
267 | 253 | ], |
268 | 254 | matchPackageNames: [ |
269 | 255 | 'io.netty:netty-bom', |
270 | 256 | ], |
271 | | - matchUpdateTypes: [ |
272 | | - 'major', |
273 | | - 'minor', |
| 257 | + matchCurrentVersion: '/^4\\.0\\./', |
| 258 | + allowedVersions: '/^4\\.0\\./', |
| 259 | + }, |
| 260 | + { |
| 261 | + // intentionally aligning netty 4.1 versions in this convention |
| 262 | + matchFileNames: [ |
| 263 | + 'conventions/src/main/kotlin/otel.java-conventions.gradle.kts', |
274 | 264 | ], |
275 | | - enabled: false, |
| 265 | + matchPackageNames: [ |
| 266 | + 'io.netty:netty-bom', |
| 267 | + ], |
| 268 | + matchCurrentVersion: '/^4\\.1\\./', |
| 269 | + allowedVersions: '/^4\\.1\\./', |
276 | 270 | }, |
277 | 271 | { |
278 | 272 | // intentionally using scala 2.11 in otel.scala-conventions.gradle.kts |
|
282 | 276 | matchPackageNames: [ |
283 | 277 | 'org.scala-lang:scala-library', |
284 | 278 | ], |
285 | | - matchUpdateTypes: [ |
286 | | - 'major', |
287 | | - 'minor', |
288 | | - ], |
289 | | - enabled: false, |
| 279 | + allowedVersions: '/^2\.11\./', |
290 | 280 | }, |
291 | 281 | { |
292 | 282 | // intentionally testing against specific major Java versions |
|
327 | 317 | matchFileNames: [ |
328 | 318 | 'dependencyManagement/build.gradle.kts', |
329 | 319 | ], |
330 | | - matchUpdateTypes: [ |
331 | | - 'major', |
332 | | - 'minor', |
333 | | - ], |
334 | | - enabled: false, |
335 | 320 | matchPackageNames: [ |
336 | 321 | 'ch.qos.logback:**', |
337 | 322 | ], |
| 323 | + allowedVersions: '/^1\.3\./', |
338 | 324 | }, |
339 | 325 | { |
340 | 326 | // intentionally using Spring Boot 2 in dependency management (for Java 8 support) |
|
0 commit comments