fix(replacements): fix matchPackageNames preset migrations (#30471)

This commit is contained in:
Rhys Arkins
2024-07-31 00:04:12 +02:00
committed by GitHub
parent 1c0e78d694
commit b83bbd435f
2 changed files with 12 additions and 6 deletions
+4 -2
View File
@@ -339,9 +339,8 @@ const staticGroups = {
{
commitMessageTopic: 'Node.js',
matchDatasources: ['docker'],
matchDepNames: ['node'],
matchPackageNames: [
'//node$/', // Ends with "node"
'/(^/)node$/', // node or ends with "/node, except those below"
'!calico/node',
'!docker.io/calico/node',
'!kindest/node',
@@ -579,6 +578,9 @@ const staticGroups = {
{
groupName: 'spring boot',
matchDepNames: ['org.springframework.boot'],
},
{
groupName: 'spring boot',
matchPackageNames: ['org.springframework.boot:**'],
},
],
+8 -4
View File
@@ -170,8 +170,10 @@
"description": "Replace `renovate` `slim` docker tag with `latest`.",
"matchCurrentValue": "/^slim$/",
"matchDatasources": ["docker"],
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
"matchPackageNames": ["/^(?:docker\\.io/)?renovate/renovate$/"],
"matchPackageNames": [
"ghcr.io/renovatebot/renovate",
"/^(?:docker\\.io/)?renovate/renovate$/"
],
"replacementVersion": "latest"
},
{
@@ -179,8 +181,10 @@
"extractVersion": "^(?<version>.+)-slim$",
"matchCurrentValue": "/-slim$/",
"matchDatasources": ["docker"],
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
"matchPackageNames": ["/^(?:docker\\.io/)?renovate/renovate$/"],
"matchPackageNames": [
"ghcr.io/renovatebot/renovate",
"/^(?:docker\\.io/)?renovate/renovate$/"
],
"versioning": "semver"
}
]