Skip to content

Commit

Permalink
Create dependabot.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kroonen authored Sep 1, 2024
1 parent d598e04 commit 9192061
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
# npm dependencies
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
versioning-strategy: auto
allow:
- dependency-type: "direct"
- dependency-type: "indirect"
ignore:
- dependency-name: "react"
versions: ["17.x", "18.x"] # Ignore major React updates to avoid breaking changes
- dependency-name: "react-dom"
versions: ["17.x", "18.x"]
commit-message:
prefix: "npm"
include: "scope"

# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 5
commit-message:
prefix: "GitHub Actions"
include: "scope"

0 comments on commit 9192061

Please sign in to comment.