Skip to content

Commit

Permalink
feat: setup renovate to update mustache files (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohnoor94 authored Nov 13, 2024
1 parent 24e19af commit dcdecd9
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,23 @@
"extends": [
"local>ExpediaGroup/renovate-config"
],
"packageRules": [
"maven": {
"fileMatch": [
"^.*\\/pom\\.xml$",
"^.*\\/pom\\.mustache$"
]
},
"customManagers": [
{
"managers": ["maven"],
"customType": "regex",
"fileMatch": [
"^.*\\/pom\\.xml$",
"^.*\\/pom\\.mustache$"
]
".*\\.mustache$"
],
"matchStrings": [
"\\{\\{dependencyManagement\\}}\\s*\\{\\{dependencies\\}}\\s*\\{\\{dependency\\}}\\s*\\{\\{groupId\\}}\\s*(?<depName>[^\\}]+)\\s*\\{\\{artifactId\\}}\\s*(?<artifactId>[^\\}]+)\\s*\\{\\{version\\}}\\s*(?<currentValue>[^\\}]+)"
],
"datasourceTemplate": "maven",
"depNameTemplate": "{{{depName}}}:{{{artifactId}}}"
}
]
}

0 comments on commit dcdecd9

Please sign in to comment.