From 9f88439ee4089d274942dc0a7521afa228750a7f Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Sat, 11 Oct 2025 23:26:28 +0800 Subject: [PATCH] chore: update dependabot --- .github/dependabot.yml | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2b38a4b..c57171b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,11 +3,30 @@ updates: - package-ecosystem: 'npm' directory: '/' schedule: - interval: 'monthly' - open-pull-requests-limit: 10 + interval: 'weekly' + groups: + # 生产依赖 - 小版本更新 + production-dependencies: + dependency-type: 'production' + update-types: + - 'minor' + - 'patch' + + # 开发依赖 - 小版本更新 + development-dependencies: + dependency-type: 'development' + update-types: + - 'minor' + - 'patch' + + # Major 更新单独处理(不分组,需要人工审查) + # 安全更新也不分组,Dependabot 会自动优先创建独立 PR - package-ecosystem: 'github-actions' directory: '/' schedule: - interval: 'monthly' - open-pull-requests-limit: 5 + interval: 'weekly' + groups: + github-actions: + patterns: + - '*'