Skip to content

Commit a839ef5

Browse files
authored
Simplify and standardize renovate custom managers across Java repos (#7846)
1 parent 89e2f74 commit a839ef5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/renovate.json5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@
104104
customType: 'regex',
105105
datasourceTemplate: 'java-version',
106106
managerFilePatterns: [
107-
'.github/workflows/**'
107+
'.github/workflows/**',
108108
],
109109
matchStrings: [
110-
'(?<currentValue>\\d+) # renovate: datasource=java-version',
110+
'(?<currentValue>\\d+) # renovate\\(java-version\\)',
111111
],
112112
depNameTemplate: 'java',
113113
extractVersionTemplate: '^(?<version>\\d+)',
@@ -116,7 +116,7 @@
116116
customType: 'regex',
117117
datasourceTemplate: 'docker',
118118
managerFilePatterns: [
119-
'**/*.java'
119+
'**/*.java',
120120
],
121121
matchStrings: [
122122
'"(?<depName>otel/opentelemetry-collector-contrib):(?<currentValue>[^@"]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?"',

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- 11
3232
- 17
3333
- 21
34-
- 25 # renovate: datasource=java-version
34+
- 25 # renovate(java-version)
3535
# Collect coverage on latest LTS
3636
include:
3737
- os: ubuntu-latest
@@ -158,7 +158,7 @@ jobs:
158158
matrix:
159159
test-graal-version:
160160
- 21
161-
- 25 # renovate: datasource=java-version
161+
- 25 # renovate(java-version)
162162
steps:
163163
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
164164
- uses: graalvm/setup-graalvm@eec48106e0bf45f2976c2ff0c3e22395cced8243 # v1.4.2

0 commit comments

Comments
 (0)