ci: add dependabot

This commit is contained in:
2025-12-12 10:51:59 +08:00
parent 8191fb5bd4
commit f32a7525ee
3 changed files with 36 additions and 19 deletions
+17
View File
@@ -0,0 +1,17 @@
# 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:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
commit-message:
prefix: "chore: "
ignore:
- dependency-name: "@types/node"
# For Node types, ignore all major updates
update-types: ["version-update:semver-major"]