-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Is there an existing issue for this?
- I have searched the existing issues
Feature description
Dependabot currently supports grouping updates using manually defined patterns (groups: patterns:), but this approach doesn’t scale well for monorepos containing many services.
I’m requesting a feature that allows Dependabot to automatically group updates by dependency name across all directories within the same package ecosystem — for example, to produce one PR per dependency name when that dependency appears in multiple requirements.txt or pyproject.toml files.
Example use case
In a monorepo with multiple Python services:
/service-a/requirements.txt
/service-b/requirements.txt
/service-c/requirements.txt
Each service might depend on the same library (e.g. requests).
Today, Dependabot opens one PR per service for that dependency:
- chore(deps): bump requests in /service-a
- chore(deps): bump requests in /service-b
- chore(deps): bump requests in /service-c
That results in several redundant PRs. I understand that for some usecases it is still beneficial to get separate PRs.
Desired behavior
Dependabot should be able to group updates by dependency name, regardless of directory.
Suggested configuration syntax:
updates:
- package-ecosystem: pip
directories:
- "/service-a"
- "/service-b"
- "/service-c"
schedule:
interval: weekly
groups:
per-dependency:
group-by: dependency-nameMetadata
Metadata
Assignees
Labels
Type
Projects
Status