Skip to content

Commit 620f873

Browse files
authored
Replace deprecated in Renovate v38 matchPackagePrefixes (#2103)
... with matchPackageNames and a regex. https://docs.renovatebot.com/release-notes-for-major-versions/#changes-to-package-matching (auto-generated PR has broken formatting - #2102)
1 parent 4f55151 commit 620f873

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/renovate.json5

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,27 @@
1111
// as we want to keep one for each major version.
1212
// The same applies for mockito as we test with both 4 and 5
1313
{
14-
matchPackagePrefixes: ["org.codehaus.groovy:"],
14+
matchPackageNames: ["/^org.codehaus.groovy:/"],
1515
matchCurrentValue: "/^2\\./",
1616
allowedVersions: "(,3.0)"
1717
},
1818
{
19-
matchPackagePrefixes: ["org.apache.groovy:"],
19+
matchPackageNames: ["/^org.apache.groovy:/"],
2020
matchCurrentValue: "/^4\\./",
2121
allowedVersions: "(,5.0)"
2222
},
2323
{
24-
matchPackagePrefixes: ["org.mockito:"],
24+
matchPackageNames: ["/^org.mockito:/"],
2525
matchCurrentValue: "/^4\\./",
2626
allowedVersions: "(,5.0)"
2727
},
2828
{
29-
matchPackagePrefixes: ["org.spockframework:spock-"],
29+
matchPackageNames: ["/^org.spockframework:spock-/"],
3030
matchCurrentVersion: "/-groovy-3\\.0$/",
3131
allowedVersions: "/-groovy-3\\.0$/"
3232
},
3333
{
34-
matchPackagePrefixes: ["org.spockframework:spock-"],
34+
matchPackageNames: ["/^org.spockframework:spock-/"],
3535
matchCurrentVersion: "/-groovy-4\\.0$/",
3636
allowedVersions: "/-groovy-4\\.0$/"
3737
}

0 commit comments

Comments
 (0)