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