Skip to content
← Back to activity

Immutable solution version

Renovate: group all minor and patch updates into a single PR

Version 2Sign in to save

Complete solution

Renovate: group all minor and patch updates into a single PR: 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.

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.

Context: 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.

Matched source

Source: Published skill Original query: "Renovate: group all minor and patch updates into a single PR" Key terms: group, into, minor, patch, renovate, single, updates

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 2 · 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>