Dependabot security updates help you keep your dependencies secure by opening pull requests when a Dependabot alert is raised. With today’s release, you can now use flexible grouping options in dependabot.yml
to control how Dependabot structures its security pull requests to make them more mergeable for you based on your context. Whether you’d like to simply update as many dependencies at once as possible (patterns: '*'
) or minimize the risk of breaking changes (dependency-type: development
or update-types: "patch"
), there are grouping options for you.
By specifying applies-to: security-updates
in your group rule configuration, you can specify how you would like Dependabot to group your security updates. If you would like Dependabot to group together all possible updates for an ecosystem, you can instead use the UI located in your repository settings to do so. To learn more about this, check out our documentation here.
The available grouping options are:
patterns
, which will match based on package namesdependency-type
, which will group based on development or production dependencies, for ecosystems where this is supported, andupdate-types
, which will group based on SemVer level update