Skip to content

Commit

Permalink
renovate: refactor regexManagers to customManagers (#240)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 authored Jan 14, 2024
1 parent db1bd73 commit 95c233e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
],
},

regexManagers: [
customManagers: [
{
customType: "regex",
fileMatch: ["(^|/)Dockerfile$", "(^|/)Dockerfile\\.[^/]*$"],
matchStrings: [
// example:
Expand All @@ -32,11 +33,12 @@
extractVersionTemplate: '^v(?<version>\\d+\\.\\d+\\.\\d+)',
},
{
customType: "regex",
fileMatch: [
"^\\.github/workflows/[^/]+\\.ya?ml$"
],
matchStrings: [
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s+version: (?<currentValue>.*)\\s"
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s+version: (?<currentValue>.*)\\s",
]
},
],
Expand Down

0 comments on commit 95c233e

Please sign in to comment.