Skip to content

Group updates by dependency name across multiple directories in a monorepo #13284

@privatwolke

Description

@privatwolke

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-name

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions