Skip to content

Commit

Permalink
Create grouped dependabot.yml
Browse files Browse the repository at this point in the history
Fixes #840

I know @sindresorhus thinks this can get noisy, but I tried to make it as non-noisy as possible.

I would really love to get notified when eg. a new `tsd`, `xo` or similar dependency needs to be updated, and same for GitHub Actions.

This setup makes it so that at max one PR for npm and one PR for GitHub Actions will be created, and it will only be created/updated weekly, and for npm it will only create it if the version range _needs_ to be increased, so no needless bumping of the lower range of a version.
  • Loading branch information
voxpelli authored Mar 22, 2024
1 parent 95ac6df commit be3e6d6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
github-actions:
patterns: "*"

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
versioning-strategy: "increase-if-necessary"
groups:
development-dependencies:
dependency-type: "development"

0 comments on commit be3e6d6

Please sign in to comment.