Skip to content

Commit c81c2a3

Browse files
authored
Standardize renovate custom manager annotations (#348)
- Update java-version pattern to use renovate(java-version) format - Simplify patterns to match specific file types and comment styles - Update workflow usages to match new format
1 parent 2073a92 commit c81c2a3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/renovate.json5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@
5353
customType: 'regex',
5454
datasourceTemplate: 'java-version',
5555
managerFilePatterns: [
56-
'.github/workflows/**'
56+
'.github/workflows/**',
5757
],
5858
matchStrings: [
59-
'(?<currentValue>\\d+) # renovate: datasource=java-version',
59+
'(?<currentValue>\\d+) # renovate\\(java-version\\)',
6060
],
6161
depNameTemplate: 'java',
6262
extractVersionTemplate: '^(?<version>\\d+)',

.github/workflows/build-common.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- 11
3333
- 17
3434
- 21
35-
- 25 # renovate: datasource=java-version
35+
- 25 # renovate(java-version)
3636
# macos-latest drops support for java 8 temurin. Run java 8 on macos-13. Run java 11+ on macos-latest.
3737
exclude:
3838
- os: macos-latest
@@ -44,7 +44,7 @@ jobs:
4444
- os: macos-13
4545
test-java-version: 21
4646
- os: macos-13
47-
test-java-version: 25 # renovate: datasource=java-version
47+
test-java-version: 25 # renovate(java-version)
4848

4949
steps:
5050
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

0 commit comments

Comments
 (0)