Skip to content

fix(ci): 限制日常 Dependabot 版本更新范围 - #323

Merged
g1331 merged 1 commit into
masterfrom
chore/dependabot-node-major-policy
Sep 23, 2026
Merged

g1331 merged 1 commit into
masterfrom
chore/dependabot-node-major-policy

Conversation

@g1331

@g1331 g1331 commented Sep 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

修正扫描目录后,Dependabot 首次扫描连续提出 Node 22→25、lucide-react 与 react-day-picker 大版本升级,以及包含 26 个包的混合次版本 PR。混合 PR 的 ESLint 与 E2E 检查失败。将常规自动更新限制在可独立验证的低风险范围,避免把需要迁移的版本变更当成普通维护合并。

Related Issue

无独立 Issue;处理 #319、#321、#322、#324 的自动更新策略。

Type of Change

  • Build/CI (changes to build system or CI configuration)

Changes

  • npm 常规版本更新仅允许补丁;补丁分组保留,Next 仍单独审查。
  • Docker 常规版本更新允许次版本和补丁,阻止 Node 22→25 这类大版本跳跃。
  • GitHub Actions 的分组策略不变。
  • 根据 GitHub Dependabot 文档,allow.update-types 仅限制常规版本更新,不阻止安全更新 PR。

Test Plan

  • pnpm exec prettier --check .github/dependabot.yml
  • git diff --check
  • pre-commit check-yaml、Prettier 等检查
  • PR 最新提交的完整 GitHub Actions 检查

Checklist

  • Code follows the project's coding standards
  • Commit message follows conventions

Screenshots

无界面改动。

@g1331
g1331 force-pushed the chore/dependabot-node-major-policy branch from 9ab5584 to fbeafa9 Compare September 23, 2026 09:07
@g1331 g1331 changed the title fix(ci): 限制 Docker Node 自动升级到当前大版本 fix(ci): 限制日常 Dependabot 版本更新范围 Sep 23, 2026
@g1331
g1331 merged commit 0650da2 into master Sep 23, 2026
13 checks passed
@g1331
g1331 deleted the chore/dependabot-node-major-policy branch September 23, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant