|
1 | 1 | { |
2 | | - "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
3 | | - "extends": [ |
4 | | - "config:base" |
| 2 | + $schema: 'https://docs.renovatebot.com/renovate-schema.json', |
| 3 | + extends: [ |
| 4 | + 'config:recommended', |
| 5 | + 'docker:pinDigests', |
| 6 | + 'helpers:pinGitHubActionDigests', |
5 | 7 | ], |
6 | | - "packageRules": [ |
| 8 | + ignorePresets: [ |
| 9 | + ':ignoreModulesAndTests', // needed to keep maven-extension test pom files up-to-date |
| 10 | + ], |
| 11 | + prHourlyLimit: 5, |
| 12 | + packageRules: [ |
| 13 | + { |
| 14 | + // this is to reduce the number of renovate PRs |
| 15 | + matchManagers: [ |
| 16 | + 'github-actions', |
| 17 | + 'dockerfile', |
| 18 | + ], |
| 19 | + extends: [ |
| 20 | + 'schedule:weekly', |
| 21 | + ], |
| 22 | + groupName: 'weekly update', |
| 23 | + }, |
7 | 24 | { |
8 | | - "matchPackageNames": [ |
9 | | - "io.opentelemetry:**", |
10 | | - "io.opentelemetry.instrumentation:**", |
11 | | - "io.opentelemetry.semconv:**", |
12 | | - "io.opentelemetry.proto:**" |
| 25 | + matchPackageNames: [ |
| 26 | + 'io.opentelemetry:**', |
| 27 | + 'io.opentelemetry.instrumentation:**', |
| 28 | + 'io.opentelemetry.semconv:**', |
| 29 | + 'io.opentelemetry.proto:**', |
13 | 30 | ], |
14 | 31 | // Renovate's default behavior is only to update from unstable -> unstable if it's for the |
15 | 32 | // major.minor.patch, under the assumption that you would want to update to the stable version |
16 | 33 | // of that release instead of the unstable version for a future release |
17 | | - "ignoreUnstable": false |
18 | | - }, |
19 | | - { |
20 | | - "matchPackagePrefixes": ["ch.qos.logback:"], |
21 | | - "groupName": "logback packages" |
22 | | - }, |
23 | | - { |
24 | | - "matchPackagePrefixes": ["io.micrometer:"], |
25 | | - "groupName": "micrometer packages" |
| 34 | + ignoreUnstable: false, |
26 | 35 | }, |
27 | 36 | { |
28 | 37 | // prevent 3.0.1u2 -> 3.0.1 |
29 | | - "matchPackageNames": ["com.google.code.findbugs:annotations"], |
30 | | - "allowedVersions": "!/^3\\.0\\.1$/" |
| 38 | + matchPackageNames: [ |
| 39 | + 'com.google.code.findbugs:annotations', |
| 40 | + ], |
| 41 | + allowedVersions: '!/^3\\.0\\.1$/', |
31 | 42 | }, |
32 | 43 | { |
33 | 44 | // disruptor 4+ requires Java 11+ |
34 | | - "matchPackageNames": ["com.lmax:disruptor"], |
35 | | - "matchUpdateTypes": ["major"], |
36 | | - "enabled": false |
| 45 | + matchPackageNames: [ |
| 46 | + 'com.lmax:disruptor', |
| 47 | + ], |
| 48 | + matchUpdateTypes: [ |
| 49 | + 'major', |
| 50 | + ], |
| 51 | + enabled: false, |
37 | 52 | }, |
38 | 53 | { |
39 | 54 | // junit-pioneer 2+ requires Java 11+ |
40 | | - "matchPackageNames": ["org.junit-pioneer:junit-pioneer"], |
41 | | - "matchUpdateTypes": ["major"], |
42 | | - "enabled": false |
| 55 | + matchPackageNames: [ |
| 56 | + 'org.junit-pioneer:junit-pioneer', |
| 57 | + ], |
| 58 | + matchUpdateTypes: [ |
| 59 | + 'major', |
| 60 | + ], |
| 61 | + enabled: false, |
43 | 62 | }, |
44 | 63 | { |
45 | 64 | // mockito 5+ requires Java 11+ |
46 | | - "matchPackagePrefixes": ["org.mockito:"], |
47 | | - "matchUpdateTypes": ["major"], |
48 | | - "enabled": false |
| 65 | + matchUpdateTypes: [ |
| 66 | + 'major', |
| 67 | + ], |
| 68 | + enabled: false, |
| 69 | + matchPackageNames: [ |
| 70 | + 'org.mockito:{/,}**', |
| 71 | + ], |
49 | 72 | }, |
50 | 73 | { |
51 | 74 | // agrona 1.23+ requires Java 17+ |
52 | | - "matchPackageNames": ["org.agrona:agrona"], |
53 | | - "matchUpdateTypes": ["major", "minor"], |
54 | | - "enabled": false |
| 75 | + matchPackageNames: [ |
| 76 | + 'org.agrona:agrona', |
| 77 | + ], |
| 78 | + matchUpdateTypes: [ |
| 79 | + 'major', |
| 80 | + 'minor', |
| 81 | + ], |
| 82 | + enabled: false, |
55 | 83 | }, |
56 | 84 | { |
57 | 85 | // system-stubs-jupiter 2.1+ requires Java 11+ |
58 | | - "matchPackageNames": ["uk.org.webcompere:system-stubs-jupiter"], |
59 | | - "matchUpdateTypes": ["major", "minor"], |
60 | | - "enabled": false |
| 86 | + matchPackageNames: [ |
| 87 | + 'uk.org.webcompere:system-stubs-jupiter', |
| 88 | + ], |
| 89 | + matchUpdateTypes: [ |
| 90 | + 'major', |
| 91 | + 'minor', |
| 92 | + ], |
| 93 | + enabled: false, |
61 | 94 | }, |
62 | 95 | { |
63 | 96 | // pinned version for compatibility |
64 | | - "matchPackageNames": ["io.micrometer:micrometer-core"], |
65 | | - "matchCurrentVersion": "1.5.0", |
66 | | - "enabled": false |
| 97 | + matchPackageNames: [ |
| 98 | + 'io.micrometer:micrometer-core', |
| 99 | + ], |
| 100 | + matchCurrentVersion: '1.5.0', |
| 101 | + enabled: false, |
67 | 102 | }, |
68 | 103 | { |
69 | 104 | // pinned version for compatibility |
70 | | - "matchPackagePrefixes": ["org.apache.maven:"], |
71 | | - "matchCurrentVersion": "3.5.0", |
72 | | - "enabled": false |
| 105 | + matchCurrentVersion: '3.5.0', |
| 106 | + enabled: false, |
| 107 | + matchPackageNames: [ |
| 108 | + 'org.apache.maven:{/,}**', |
| 109 | + ], |
73 | 110 | }, |
74 | 111 | { |
75 | | - "matchPackagePrefixes": ["com.diffplug.spotless"], |
76 | | - "groupName": "spotless packages" |
| 112 | + groupName: 'spotless packages', |
| 113 | + matchPackageNames: [ |
| 114 | + 'com.diffplug.spotless{/,}**', |
| 115 | + ], |
77 | 116 | }, |
78 | 117 | { |
79 | 118 | // pinned version for compatibility with java 8 JFR parsing |
80 | | - "matchPackagePrefixes": ["org.openjdk.jmc"], |
81 | | - "matchUpdateTypes": ["major"], |
82 | | - "enabled": false |
| 119 | + matchUpdateTypes: [ |
| 120 | + 'major', |
| 121 | + ], |
| 122 | + enabled: false, |
| 123 | + matchPackageNames: [ |
| 124 | + 'org.openjdk.jmc{/,}**', |
| 125 | + ], |
83 | 126 | }, |
84 | 127 | { |
85 | 128 | // pinned version for compatibility |
86 | | - "matchFileNames": ["jmx-scraper/test-webapp/build.gradle.kts"], |
87 | | - "matchPackagePrefixes": ["jakarta.servlet:"], |
88 | | - "matchCurrentVersion": "5.0.0", |
89 | | - "enabled": false |
| 129 | + matchFileNames: [ |
| 130 | + 'jmx-scraper/test-webapp/build.gradle.kts', |
| 131 | + ], |
| 132 | + matchCurrentVersion: '5.0.0', |
| 133 | + enabled: false, |
| 134 | + matchPackageNames: [ |
| 135 | + 'jakarta.servlet:{/,}**', |
| 136 | + ], |
90 | 137 | }, |
91 | 138 | { |
92 | 139 | // intentionally using Spring Boot 2 in gcp-auth-extension in order to test with Java 8+ |
93 | | - "matchFileNames": [ |
94 | | - "gcp-auth-extension/build.gradle.kts" |
| 140 | + matchFileNames: [ |
| 141 | + 'gcp-auth-extension/build.gradle.kts', |
95 | 142 | ], |
96 | | - "matchPackagePrefixes": [ |
97 | | - "org.springframework.boot" |
| 143 | + matchUpdateTypes: [ |
| 144 | + 'major', |
98 | 145 | ], |
99 | | - "matchUpdateTypes": ["major"], |
100 | | - "enabled": false, |
101 | | - } |
102 | | - ] |
| 146 | + enabled: false, |
| 147 | + matchPackageNames: [ |
| 148 | + 'org.springframework.boot{/,}**', |
| 149 | + ], |
| 150 | + }, |
| 151 | + ], |
| 152 | + customManagers: [ |
| 153 | + { |
| 154 | + customType: 'regex', |
| 155 | + datasourceTemplate: 'npm', |
| 156 | + fileMatch: [ |
| 157 | + '^.github/workflows/', |
| 158 | + ], |
| 159 | + matchStrings: [ |
| 160 | + 'npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)', |
| 161 | + ], |
| 162 | + }, |
| 163 | + ], |
103 | 164 | } |
0 commit comments