Skip to content

Commit

Permalink
Fix preserving Mockito 4.x version by Renovate (#1883)
Browse files Browse the repository at this point in the history
With a suggestion from:
renovatebot/renovate#27303 (comment)
  • Loading branch information
szpak authored Feb 15, 2024
1 parent 789f66a commit 14e1a3f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
// as we want to keep one for each major version.
// The same applies for mockito as we test with both 4 and 5
{
"matchPackagePrefixes": ["org.codehaus.groovy:", "org.apache.groovy:", "org.mockito:"],
matchPackagePrefixes: ["org.mockito:"],
matchCurrentValue: "/^4\\./",
allowedVersions: "(,5.0)"
},
{
"matchPackagePrefixes": ["org.codehaus.groovy:", "org.apache.groovy:"],
"matchManagers": ["regex"],
"matchUpdateTypes": ["major"],
"enabled": false
Expand Down

0 comments on commit 14e1a3f

Please sign in to comment.