Reduce Dependabot PR noise by grouping them and switching to weekly batch updates (#43704)

This PR uses dependabot.yml groups key to controls version updates. It
tells Dependabot to bundle regular package upgrades (e.g., npm or
github-actions) into a single pull request based on your rules.

Additional step:

Enable in the repository settings grouped updates: This setting controls
security updates. Enabling this tells Dependabot to bundle all available
security patches (i.e., updates that fix vulnerabilities) into a single
pull request, separate from our version updates.

See:
https://github.blog/changelog/2024-03-28-dependabot-grouped-security-updates-generally-available/

Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
This commit is contained in:
Bruno Oliveira da Silva 2025-10-29 09:30:24 -03:00 committed by GitHub
parent ce5dd51921
commit 6bce46c842
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,22 +2,29 @@ version: 2
updates:
- package-ecosystem: github-actions
directory: /
open-pull-requests-limit: 999
rebase-strategy: disabled
schedule:
interval: daily
time: "00:00"
interval: weekly
day: "sunday"
time: "03:00"
timezone: Etc/GMT
open-pull-requests-limit: 10 # It's wise to keep this low even with grouping
rebase-strategy: disabled
labels:
- area/dependencies
- area/ci
groups:
actions-dependencies: # This name will be used in the PR title
patterns:
- "*"
- package-ecosystem: npm
directory: js
schedule:
interval: daily
time: "00:00"
interval: weekly
day: "thursday"
time: "03:00"
timezone: Etc/GMT
open-pull-requests-limit: 999
open-pull-requests-limit: 10 # It's wise to keep this low even with grouping
rebase-strategy: disabled
labels:
- area/dependencies
@ -35,3 +42,7 @@ updates:
update-types: ["version-update:semver-major"]
- dependency-name: "react-router-dom"
update-types: ["version-update:semver-major"]
groups:
npm-dependencies: # This name will be used in the PR title
patterns:
- "*"