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