Skip to content

Commit

Permalink
chore(deps): keep npm dependency updates to one PR if non-breaking
Browse files Browse the repository at this point in the history
the npm package ecosystem releases all the time and it clutters up the
PR queue for mostly meaningless dependency updates

dependabot has a new "groups" feature to group dependency update PRs
together in to one PR based on either name globs, update types, or
dependency type

this should allow us to get all non-breaking changes through in single
PRs, while breaking (semver-major) changes will get individual PRs for
more detailed consideration

https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups
  • Loading branch information
mikehardy committed Jan 26, 2024
1 parent c07a15c commit 70820d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,10 @@ updates:
time: "10:00"
open-pull-requests-limit: 10
target-branch: dependency-updates
groups:
non-breaking:
update-types:
- "minor"
- "patch"
labels:
- "dependencies"

0 comments on commit 70820d1

Please sign in to comment.