fix(renovate): use allowedVersions to block open-policy-agent/regal v1+
Replace matchNewValue with allowedVersions constraint to properly prevent Renovate from creating update branches for major versions. The previous enabled/matchNewValue approach did not prevent branch creation for already existing PRs.
This commit is contained in:
+2
-3
@@ -6,9 +6,8 @@
|
|||||||
],
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"enabled": false,
|
"allowedVersions": "<1.0.0",
|
||||||
"matchPackageNames": ["open-policy-agent/regal"],
|
"matchPackageNames": ["open-policy-agent/regal"]
|
||||||
"matchNewValue": "^2"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user