浏览代码

添加对 GitHub Dependabot 的支持

在项目根目录下配置了 dependabot.yml 文件,启用了每日检查 Go 模块依赖更新,并限制同时打开的 PR 数量为 5。同时,在 CHANGELOG.md 中记录了此次新增功能。
SongZihuan 1 周之前
父节点
当前提交
225ee49c5d
共有 2 个文件被更改,包括 13 次插入0 次删除
  1. 7 0
      .github/dependabot.yml
  2. 6 0
      CHANGELOG.md

+ 7 - 0
.github/dependabot.yml

@@ -0,0 +1,7 @@
+version: 2
+updates:
+  - package-ecosystem: "gomod" # 使用 go modules 管理依赖
+    directory: "/" # 根目录
+    schedule:
+      interval: "daily" # 设置为每天检查一次更新
+    open-pull-requests-limit: 5 # 最大同时打开的 PR 数量

+ 6 - 0
CHANGELOG.md

@@ -7,6 +7,12 @@
 
 **注意:本文档内容若与[GitHub Wiki](https://github.com/SongZihuan/BackendServerTemplate/wiki/%E5%8F%98%E6%9B%B4%E6%97%A5%E5%BF%97)冲突,则以后者为准**
 
+## [未发现]
+
+### 新增
+
+- 添加对`Github Dependabot` 的支持。
+
 ## [0.5.0] - 2025-04-19
 
 ### 新增