From 54489461167686ee0f055ddac32aeacec938eb06 Mon Sep 17 00:00:00 2001 From: Zeke Zhang <958414905@qq.com> Date: Sat, 16 Dec 2023 17:12:41 +0800 Subject: [PATCH] chore(dependabot): fix registries option --- .github/dependabot.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 16ef223a8..1660c3667 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,15 +1,17 @@ version: 2 +registries: + npm-registry: + type: npm-registry + url: https://registry.npmmirror.com + replaces-base: true # 设置为true表示将这个镜像源作为基础的npm注册表(如https://registry.npmjs.org) updates: - package-ecosystem: "npm" # 你项目的包管理器类型,例如 "npm", "pip", "maven", "gradle", "docker"或者其他 directory: "/" # 包管理器文件在仓库的位置,"/"代表仓库的根目录 + registries: + - npm-registry schedule: interval: "weekly" # Dependabot检查更新的频率,可以是"daily", "weekly", 或者 "monthly" open-pull-requests-limit: 10 # Dependabot同时打开的pull request的最大数量 ignore: - dependency-name: "axios" - dependency-name: "dotenv" -registries: - npm-registry: - type: npm-registry - url: https://registry.npmmirror.com - replaces-base: true # 设置为true表示将这个镜像源作为基础的npm注册表(如https://registry.npmjs.org)