How do I override separateMinorPatch if it is defined globally? #8399
-
Hi, unfortunately I have a problem with the "separateMinorPatch" and would be happy about help.
But actually I get one "Update non-major (patch)" and one "Update non-major" for the non-major group. What is wrong with my configuration? What I want to achieve is: All minor and patch dependencies should end up in a PR. However, for some specific dependencies I want to open a separate PR for each update type (major, minor, patch). For major updates a separate PR should always be opened. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
You can't combine updateTypes and separateMinorPatch in the same package rule. Can you describe what it is you are wanting to do? |
Beta Was this translation helpful? Give feedback.
-
Try this: "packageRules": [
{
"description": "default non-major updates to a single PR",
"updateTypes": [
"minor",
"patch"
],
"groupName": "non-major",
},
{
"description": "seperate minor and patch for specific packages",
"packagePatterns": [
"^org.springframework.boot:"
],
"separateMinorPatch": true,
},
{
"description": "Use other group for specific minor updates to create separate PR",
"groupName": "spring boot",
"packagePatterns": [
"^org.springframework.boot:"
],
"updateTypes": [
"minor"
]
}, |
Beta Was this translation helpful? Give feedback.
Try this: