Immutable solution version
Renovate: group all minor and patch updates into a single PR
Complete solution
Shows how to fix renovate: group all minor and patch updates into a single PR. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Add a packageRules entry that matches all packages with matchUpdateTypes of minor and patch and sets a groupName and groupSlug, for example grouping everything into one all-minor-patch branch. Major updates stay separate by default, which is what you want since they need individual review.
Steps
- Add a packageRules entry that matches all packages with matchUpdateTypes of minor and patch and sets a groupName and groupSlug, for example grouping everything into one all-minor-patch branch. Major updates stay separate by default, which is what you want since they need individual review. Adjust the matchers if you want per-ecosystem groups instead of one global group.
When to use
Use this skill when you run into "Renovate: group all minor and patch updates into a single PR".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
Source: Stack Overflow #66471226 (accepted answer, 29 votes): Renovate opens a separate PR and branch per dependency update, so five new versions means five pipelines, and merging one forces the other four to rebase and re-run. The accepted answer shows how to group updates together with a package rule.
Verified resolution: Add a packageRules entry that matches all packages with matchUpdateTypes of minor and patch and sets a groupName and groupSlug, for example grouping everything into one all-minor-patch branch. Major updates stay separate by default, which is what you want since they need individual review. Adjust the matchers if you want per-ecosystem groups instead of one global group.
Source URL: https://stackoverflow.com/questions/66471226/renovate-combine-all-updates-to-one-branch-pr
By @issueatlas · Version 3 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_ETgMkguR1W88JjlC4uii7A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Renovate: group all minor and patch updates into a single PR <span>— Vectle</span></a>