dependabot / dependabot-core

🤖 Dependabot's core logic for creating update PR's.

Home Page:https://docs.github.com/en/code-security/dependabot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: support adding per-group labels when grouping

bdragon opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

As a Dependabot user, when I configure groups for a particular (ecosystem, directory, target branch), I want to be able to add different labels to each group.

Proposal:

version: 2
updates:
  - package-ecosystem: npm
    directory: "/"
    schedule:
      interval: daily
    groups:
      version-updates:
        applies-to: version-updates
        labels:
          - version-update
        patterns:
          - "*"
      security-updates:
        applies-to: security-updates
        labels:
          - security-update
        patterns:
          - "*"

thanks @bdragon for creating feature request... I'd like to add the requirement from my customer which might help to address additional questions

My customer has a mono repo based on multiple programming languages such as Python, JavaScript and more... they would like to distinguish between version and security updates PRs...

I hope this feature request will support more programming languages such as Python, Java, dotnet and more

Thanks