Skip to content

Instantly share code, notes, and snippets.

@johnhunter
Created September 8, 2023 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnhunter/d4209ae55ff0a0447446229886222049 to your computer and use it in GitHub Desktop.
Save johnhunter/d4209ae55ff0a0447446229886222049 to your computer and use it in GitHub Desktop.
Example .github dependabot config for using the new groups feature
version: 2
updates:
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
day: "saturday"
time: "08:00"
groups:
patches:
update-types:
- "patch"
minor-lint-test:
update-types:
- "minor"
patterns:
- "prettier"
- "eslint*"
- "ava"
- "jsdom"
@johnhunter
Copy link
Author

This gives me two grouped PRs on Saturday morning :)

One that has all the patch updates, the other has minor version updates for all the dev related stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment