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