Open Stadly opened 10 months ago
This would be super cool - I'm currently struggling with finding which dep update in a minorAndPatch group update caused issues. Having individual commits would be amazing.
Alternatively, there could be a dependabot command that splits a failing PR up into 2 PR with each having around half of the updates, to let CI do it's job more efficiently than having one commit per dep update.
Is there an existing issue for this?
Feature description
The functionality for grouped updates is very nice! Would it be possible to, instead of creating a single PR consisting of a single commit updating all the dependencies, create a single PR consisting of one commit per updated dependency?
Then we would have these different configuration options:
No grouping (possible today)
Bump friendsofphp/php-cs-fixer from 3.34.1 to 3.37.0
Bump friendsofphp/php-cs-fixer from 3.34.1 to 3.37.0
Bump phpstan/phpstan from 1.10.38 to 1.10.39
Bump phpstan/phpstan from 1.10.38 to 1.10.39
Grouping with single commit (possible today)
Bump the dev-dependencies group with 2 updates
Bump the dev-dependencies group with 2 updates
Grouping with individual commits (the requested feature)
Bump the dev-dependencies group with 2 updates
Bump friendsofphp/php-cs-fixer from 3.34.1 to 3.37.0
Bump phpstan/phpstan from 1.10.38 to 1.10.39
I think this would give the best of both worlds:
git bisect
For dependencies that must be updated together, they must of course be combined in a commit, just as they are without grouping.