I want renovate not to auto merge "major" updates of certain dependencies, but it should auto merge other updates from those dependencies.
For example, if I want renovate to auto merge all "minor" and "patch" updates of eslint, but it should not auto merge all the "major" updates to eslint.
How can I define the rules in my renovate json file to comply for this requirement.
This package rule from the docs will automerge all minor and patch updates with a version number greater than 1.0.0.
{
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^0/",
"automerge": true
}
]
}