Skip to content

Commit 71ee28a

Browse files
authored
Simplify and standardize renovate custom managers across Java repos (#15314)
1 parent de48d1b commit 71ee28a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/renovate.json5

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -377,11 +377,11 @@
377377
datasourceTemplate: 'java-version',
378378
managerFilePatterns: [
379379
'.github/workflows/**',
380-
'**/*.gradle.kts'
380+
'**/*.gradle.kts',
381381
],
382382
matchStrings: [
383-
'(?<currentValue>\\d+) # renovate: datasource=java-version',
384-
'"(?<currentValue>\\d+)" // renovate: datasource=java-version',
383+
'(?<currentValue>\\d+) # renovate\\(java-version\\)',
384+
'"(?<currentValue>\\d+)" // renovate\\(java-version\\)',
385385
],
386386
depNameTemplate: 'java',
387387
extractVersionTemplate: '^(?<version>\\d+)',
@@ -390,7 +390,7 @@
390390
customType: 'regex',
391391
datasourceTemplate: 'pypi',
392392
managerFilePatterns: [
393-
'/^.github/workflows//',
393+
'.github/workflows/**',
394394
],
395395
matchStrings: [
396396
'pip install (?<depName>[^=]+)==(?<currentValue>[^\\s]+)',
@@ -400,7 +400,7 @@
400400
customType: 'regex',
401401
datasourceTemplate: 'npm',
402402
managerFilePatterns: [
403-
'/^.github/workflows//',
403+
'.github/workflows/**',
404404
],
405405
matchStrings: [
406406
'npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)',

.github/workflows/build-common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ jobs:
246246
- 11
247247
- 17
248248
- 21
249-
- 25 # renovate: datasource=java-version
249+
- 25 # renovate(java-version)
250250
- 25-deny-unsafe
251251
vm:
252252
- hotspot

.github/workflows/reusable-pr-smoke-test-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
build:
3131
runs-on: ubuntu-latest
3232
env:
33-
LATEST_JAVA_VERSION: 25 # renovate: datasource=java-version
33+
LATEST_JAVA_VERSION: 25 # renovate(java-version)
3434
steps:
3535
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3636

.github/workflows/reusable-publish-smoke-test-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
contents: read
3434
packages: write
3535
env:
36-
LATEST_JAVA_VERSION: 25 # renovate: datasource=java-version
36+
LATEST_JAVA_VERSION: 25 # renovate(java-version)
3737
steps:
3838
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3939

0 commit comments

Comments
 (0)