Why can't matchUpdateTypes
& separateMultipleMinor
be used in the same package rule?
#29064
-
What would you like help with?I would like help with my configuration How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.GitHub Enterprise Please tell us more about your question or problemPlease see the reproduction repo: https:/SchroederSteffen/renovate-matchUpdateTypes-separateMultipleMinor?#readme. ProblemIn our org, we group all minor & patch updates (preset Additionally, we want to use the option Unfortunately, Renovate doesn't allow using renovate/lib/config/validation.ts Line 490 in 8d78ca2 WorkaroundWhile it's not possible to use {
"packageRules": [
{
"groupName": "typescript",
"matchPackageNames": ["typescript"],
"matchUpdateTypes": ["major", "minor"]
},
{
"matchPackageNames": ["typescript"],
"separateMultipleMinor": true
}
]
} QuestionCould you please confirm that this workaround is necessary? ThanksIn any case, many thanks for providing Renovate and all the support around it! ❤️ Logs (if relevant)No response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's not a workaround - it's the solution. separateMultipleMinor is something which needs to be set before Renovate decides if an update is minor or patch. Then matchUpdateTypes is something which happens after. If you match on update types then it's too late |
Beta Was this translation helpful? Give feedback.
It's not a workaround - it's the solution.
separateMultipleMinor is something which needs to be set before Renovate decides if an update is minor or patch. Then matchUpdateTypes is something which happens after. If you match on update types then it's too late