👷 add dependabot.yml

This commit is contained in:
徐晓伟 2023-10-05 05:30:31 +08:00
parent 0a88f43ae1
commit d786799b40
1 changed files with 22 additions and 0 deletions

22
.gitlab/dependabot.yml Normal file
View File

@ -0,0 +1,22 @@
# dependabot-gitlab 专用
# 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/github/administering-a-repository/configuration-options-for-dependency-updates
# dependabot.yml 文件的配置选项https://docs.github.com/zh/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
# 自定义依赖项更新https://docs.github.com/zh/code-security/dependabot/dependabot-version-updates/customizing-dependency-updates
# 管理依赖项更新的所有拉取请求https://docs.github.com/zh/code-security/dependabot/working-with-dependabot/managing-pull-requests-for-dependency-updates
# 配置https://dependabot-gitlab.gitlab.io/dependabot/config/configuration.html
version: 1
updates:
- package-ecosystem: "gomod"
directory: "/"
auto-merge: true
schedule:
interval: "daily"
time: "20:00"
timezone: "Asia/Shanghai"