1 parent c9fc272 commit 19dd896Copy full SHA for 19dd896
2 files changed
.github/renovate.json
.github/renovate.json5
@@ -0,0 +1,27 @@
1
+{
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
+ "extends": [
4
+ "config:recommended"
5
+ ],
6
+ "reviewers": ["kevincianfarini"],
7
+ ignorePresets: [
8
+ // Ensure we get the latest version and are not pinned to old versions.
9
+ 'workarounds:javaLTSVersions',
10
11
+ customManagers: [
12
+ // Update .java-version file with the latest JDK version.
13
+ {
14
+ customType: 'regex',
15
+ fileMatch: [
16
+ '^\\.java-version$',
17
18
+ matchStrings: [
19
+ '(?<currentValue>.*)\\n',
20
21
+ datasourceTemplate: 'java-version',
22
+ depNameTemplate: 'java',
23
+ // Only write the major version.
24
+ extractVersionTemplate: '^(?<version>\\d+)',
25
+ },
26
+ ]
27
+}
0 commit comments