Can I merge multiple managers to produce one MR? #8749
-
We have quite a few Terraform repositories within our company. When Hashicorp releases a new version of Terraform this causes manual work for us, even though Renovate does some heavy lifting. Renovate:
The problem that we are facing is that two separate MR's are being created for this right now. One to update the The documentation on grouping mostly talks about grouping based on package patterns, if I try to go that route with {
packageNames: ['hashicorp/terraform'],
groupName: 'terraform',
}, it simply creates two PR's (even though there already were two with the exact same changes) with branch Any pointers in what I need to configure to have it create a single MR for both changes? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Use |
Beta Was this translation helpful? Give feedback.
-
regex manager i use to update terraform https://github.com/visualon/renovate-config/blob/main/shared.json#L70-L76 {
"fileMatch": ["\\.tf$"],
"matchStrings": ["required_version\\s*=\\s*\"(?<currentValue>.+?)\""],
"datasourceTemplate": "docker",
"versioningTemplate": "hashicorp",
"depNameTemplate": "hashicorp/terraform"
} |
Beta Was this translation helpful? Give feedback.
Use
packageRules
to do matching and then assign agroupName
. What are the current branch names which you'd like to see combined into one?