|
5 | 5 | 'helpers:pinGitHubActionDigestsToSemver', |
6 | 6 | ], |
7 | 7 | ignorePresets: [ |
8 | | - ':ignoreModulesAndTests', // needed to keep maven-extension test pom files up-to-date |
9 | | - 'workarounds:javaLTSVersions', // Allow all Java major versions, not just LTS |
| 8 | + ':ignoreModulesAndTests', |
| 9 | + 'workarounds:javaLTSVersions', |
10 | 10 | ], |
11 | | - prHourlyLimit: 5, // we have a large number of parallel runners |
| 11 | + prHourlyLimit: 5, |
12 | 12 | labels: [ |
13 | | - 'dependencies' |
| 13 | + 'dependencies', |
14 | 14 | ], |
15 | 15 | packageRules: [ |
16 | 16 | { |
17 | | - // reduces the number of Renovate PRs |
18 | | - // (patch updates are typically non-breaking) |
19 | | - "groupName": "all patch versions", |
20 | | - "matchUpdateTypes": ["patch"], |
21 | | - "schedule": ["before 8am every weekday"] |
| 17 | + groupName: 'all patch versions', |
| 18 | + matchUpdateTypes: [ |
| 19 | + 'patch', |
| 20 | + ], |
| 21 | + schedule: [ |
| 22 | + 'before 8am every weekday', |
| 23 | + ], |
22 | 24 | }, |
23 | 25 | { |
24 | | - // avoids these Renovate PRs from trickling in throughout the week |
25 | | - // (consolidating the review process) |
26 | | - "matchUpdateTypes": ["minor", "major"], |
27 | | - "excludePackageNames": [ |
28 | | - // want OpenTelemetry package updates right away |
29 | | - 'io.opentelemetry:**', |
30 | | - 'io.opentelemetry.*:**', |
| 26 | + matchUpdateTypes: [ |
| 27 | + 'minor', |
| 28 | + 'major', |
| 29 | + ], |
| 30 | + schedule: [ |
| 31 | + 'before 8am on Monday', |
| 32 | + ], |
| 33 | + matchPackageNames: [ |
| 34 | + '!io.opentelemetry:**', |
| 35 | + '!io.opentelemetry.*:**', |
31 | 36 | ], |
32 | | - "schedule": ["before 8am on Monday"] |
33 | 37 | }, |
34 | 38 | { |
35 | 39 | matchPackageNames: [ |
|
38 | 42 | 'io.opentelemetry.semconv:**', |
39 | 43 | 'io.opentelemetry.proto:**', |
40 | 44 | ], |
41 | | - // Renovate's default behavior is only to update from unstable -> unstable if it's for the |
42 | | - // major.minor.patch, under the assumption that you would want to update to the stable version |
43 | | - // of that release instead of the unstable version for a future release |
44 | 45 | ignoreUnstable: false, |
45 | 46 | }, |
46 | 47 | { |
47 | | - // prevent 3.0.1u2 -> 3.0.1 |
48 | 48 | matchPackageNames: [ |
49 | 49 | 'com.google.code.findbugs:annotations', |
50 | 50 | ], |
51 | 51 | allowedVersions: '!/^3\\.0\\.1$/', |
52 | 52 | }, |
53 | 53 | { |
54 | | - // disruptor 4+ requires Java 11+ |
55 | 54 | matchPackageNames: [ |
56 | 55 | 'com.lmax:disruptor', |
57 | 56 | ], |
|
61 | 60 | enabled: false, |
62 | 61 | }, |
63 | 62 | { |
64 | | - // junit-pioneer 2+ requires Java 11+ |
65 | 63 | matchPackageNames: [ |
66 | 64 | 'org.junit-pioneer:junit-pioneer', |
67 | 65 | ], |
|
71 | 69 | enabled: false, |
72 | 70 | }, |
73 | 71 | { |
74 | | - // mockito 5+ requires Java 11+ |
75 | 72 | matchUpdateTypes: [ |
76 | 73 | 'major', |
77 | 74 | ], |
|
81 | 78 | ], |
82 | 79 | }, |
83 | 80 | { |
84 | | - // agrona 1.23+ requires Java 17+ |
85 | 81 | matchPackageNames: [ |
86 | 82 | 'org.agrona:agrona', |
87 | 83 | ], |
|
92 | 88 | enabled: false, |
93 | 89 | }, |
94 | 90 | { |
95 | | - // system-stubs-jupiter 2.1+ requires Java 11+ |
96 | 91 | matchPackageNames: [ |
97 | 92 | 'uk.org.webcompere:system-stubs-jupiter', |
98 | 93 | ], |
|
103 | 98 | enabled: false, |
104 | 99 | }, |
105 | 100 | { |
106 | | - // pinned version for compatibility |
107 | 101 | matchPackageNames: [ |
108 | 102 | 'io.micrometer:micrometer-core', |
109 | 103 | ], |
110 | 104 | matchCurrentVersion: '1.5.0', |
111 | 105 | enabled: false, |
112 | 106 | }, |
113 | 107 | { |
114 | | - // pinned version for compatibility |
115 | 108 | matchCurrentVersion: '3.5.0', |
116 | 109 | enabled: false, |
117 | 110 | matchPackageNames: [ |
|
137 | 130 | ], |
138 | 131 | }, |
139 | 132 | { |
140 | | - // pinned version for compatibility with java 8 JFR parsing |
141 | 133 | matchUpdateTypes: [ |
142 | 134 | 'major', |
143 | 135 | ], |
|
147 | 139 | ], |
148 | 140 | }, |
149 | 141 | { |
150 | | - // pinned version for compatibility |
151 | 142 | matchFileNames: [ |
152 | 143 | 'jmx-scraper/test-webapp/build.gradle.kts', |
153 | 144 | ], |
|
158 | 149 | ], |
159 | 150 | }, |
160 | 151 | { |
161 | | - // intentionally using Spring Boot 2 in gcp-auth-extension in order to test with Java 8+ |
162 | 152 | matchFileNames: [ |
163 | 153 | 'gcp-auth-extension/build.gradle.kts', |
164 | 154 | ], |
|
176 | 166 | customType: 'regex', |
177 | 167 | datasourceTemplate: 'npm', |
178 | 168 | managerFilePatterns: [ |
179 | | - '.github/workflows/**' |
| 169 | + '.github/workflows/**', |
180 | 170 | ], |
181 | 171 | matchStrings: [ |
182 | 172 | 'npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)', |
|
186 | 176 | customType: 'regex', |
187 | 177 | datasourceTemplate: 'java-version', |
188 | 178 | managerFilePatterns: [ |
189 | | - '.github/workflows/**' |
| 179 | + '.github/workflows/**', |
190 | 180 | ], |
191 | 181 | matchStrings: [ |
192 | 182 | '(?<currentValue>\\d+) # renovate: datasource=java-version', |
|
0 commit comments