chore(.github): 添加dependabot配置文件

- 新增dependabot.yml配置文件用于自动化依赖更新管理,
提升项目维护效率和安全性。
- [skip ci]
This commit is contained in:
GeWuYou 2026-01-29 10:13:39 +08:00
parent 2896f35c67
commit 57fdb1c3d4

19
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,19 @@
version: 2
updates:
# ===== NuGet 依赖(所有项目)=====
- package-ecosystem: "nuget"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 5
ignore:
# 忽略所有依赖的大版本升级(框架项目非常建议)
- dependency-name: "*"
update-types:
- "version-update:semver-major"
# ===== GitHub Actions =====
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"