|
1 | 1 | { |
2 | | - "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
3 | | - "extends": [ |
4 | | - "config:recommended", |
5 | | - "docker:pinDigests", |
6 | | - "helpers:pinGitHubActionDigests" |
| 2 | + $schema: 'https://docs.renovatebot.com/renovate-schema.json', |
| 3 | + extends: [ |
| 4 | + 'config:best-practices', |
| 5 | + 'helpers:pinGitHubActionDigestsToSemver', |
7 | 6 | ], |
8 | | - "packageRules": [ |
| 7 | + packageRules: [ |
9 | 8 | { |
10 | 9 | // this is to reduce the number of renovate PRs |
11 | | - "matchManagers": [ |
12 | | - "github-actions", |
13 | | - "dockerfile" |
| 10 | + matchManagers: [ |
| 11 | + 'github-actions', |
| 12 | + 'dockerfile', |
14 | 13 | ], |
15 | | - "extends": ["schedule:weekly"], |
16 | | - "groupName": "weekly update" |
| 14 | + extends: [ |
| 15 | + 'schedule:weekly', |
| 16 | + ], |
| 17 | + groupName: 'weekly update', |
17 | 18 | }, |
18 | 19 | { |
19 | | - "matchPackageNames": [ |
20 | | - "io.opentelemetry.contrib:opentelemetry-aws-xray-propagator", |
21 | | - "io.opentelemetry.proto:opentelemetry-proto", |
22 | | - "io.opentelemetry.semconv:opentelemetry-semconv-incubating" |
| 20 | + matchPackageNames: [ |
| 21 | + 'io.opentelemetry.contrib:opentelemetry-aws-xray-propagator', |
| 22 | + 'io.opentelemetry.proto:opentelemetry-proto', |
| 23 | + 'io.opentelemetry.semconv:opentelemetry-semconv-incubating', |
23 | 24 | ], |
24 | 25 | // Renovate's default behavior is only to update from unstable -> unstable if it's for the |
25 | 26 | // major.minor.patch, under the assumption that you would want to update to the stable version |
26 | 27 | // of that release instead of the unstable version for a future release |
27 | 28 | // (TODO remove once the artifacts above release stable versions) |
28 | | - "ignoreUnstable": false, |
29 | | - "allowedVersions": "!/\\-SNAPSHOT$/" |
| 29 | + ignoreUnstable: false, |
| 30 | + allowedVersions: '!/\\-SNAPSHOT$/', |
30 | 31 | }, |
31 | 32 | { |
32 | 33 | // junit-pioneer 2+ requires Java 11+ |
33 | | - "matchPackageNames": ["org.junit-pioneer:junit-pioneer"], |
34 | | - "matchUpdateTypes": ["major"], |
35 | | - "enabled": false |
| 34 | + matchPackageNames: [ |
| 35 | + 'org.junit-pioneer:junit-pioneer', |
| 36 | + ], |
| 37 | + matchUpdateTypes: [ |
| 38 | + 'major', |
| 39 | + ], |
| 40 | + enabled: false, |
36 | 41 | }, |
37 | 42 | { |
38 | 43 | // mockito 5+ requires Java 11+ |
39 | | - "matchPackagePrefixes": ["org.mockito:"], |
40 | | - "matchUpdateTypes": ["major"], |
41 | | - "enabled": false |
| 44 | + matchUpdateTypes: [ |
| 45 | + 'major', |
| 46 | + ], |
| 47 | + enabled: false, |
| 48 | + matchPackageNames: [ |
| 49 | + 'org.mockito:{/,}**', |
| 50 | + ], |
42 | 51 | }, |
43 | 52 | { |
44 | 53 | // jqf-fuzz version 1.8+ requires Java 11+ |
45 | | - "matchPackageNames": ["edu.berkeley.cs.jqf:jqf-fuzz"], |
46 | | - "matchUpdateTypes": ["major", "minor"], |
47 | | - "enabled": false |
| 54 | + matchPackageNames: [ |
| 55 | + 'edu.berkeley.cs.jqf:jqf-fuzz', |
| 56 | + ], |
| 57 | + matchUpdateTypes: [ |
| 58 | + 'major', |
| 59 | + 'minor', |
| 60 | + ], |
| 61 | + enabled: false, |
48 | 62 | }, |
49 | 63 | { |
50 | 64 | // pinned version for compatibility |
51 | | - "matchPackageNames": ["org.jetbrains.kotlinx:kotlinx-coroutines-core"], |
52 | | - "matchCurrentVersion": "1.5.2", |
53 | | - "enabled": false |
| 65 | + matchPackageNames: [ |
| 66 | + 'org.jetbrains.kotlinx:kotlinx-coroutines-core', |
| 67 | + ], |
| 68 | + matchCurrentVersion: '1.5.2', |
| 69 | + enabled: false, |
| 70 | + }, |
| 71 | + { |
| 72 | + groupName: 'spotless packages', |
| 73 | + matchPackageNames: [ |
| 74 | + 'com.diffplug.spotless{/,}**', |
| 75 | + ], |
54 | 76 | }, |
55 | 77 | { |
56 | | - "matchPackagePrefixes": ["com.diffplug.spotless"], |
57 | | - "groupName": "spotless packages" |
| 78 | + // equals verifier v4+ requires java 17+ |
| 79 | + groupName: 'nl.jqno.equalsverifier', |
| 80 | + matchPackageNames: [ 'equalsverifier'], |
| 81 | + matchUpdateTypes: [ 'major' ], |
| 82 | + enabled: false |
58 | 83 | } |
59 | | - ] |
| 84 | + ], |
60 | 85 | } |
0 commit comments