Repository navigation
chore(deps): 停用 Dependabot 版本更新,改用安全告警 + 安全更新 - #30
Merged
Merged
Conversation
本仓不再需要自动的"版本更新 PR"。实测数据: 历史 Dependabot PR 中 78% 是关闭未合并的(7 个仓合计 180 个 PR,仅 39 个合并)。 抽样确认其中绝大多数是 dependabot[bot] 自己关闭的——新版本出现后它开新 PR 取代旧的,属于纯 churn:不需要人工处理,但会持续刷通知、堆满 PR 列表。 分组方式影响很大:major 不分组时合并率 75%,重度分组时低至 6%。 按 GitHub 官方文档(About the dependabot.yml file): Without a dependabot.yml file, Dependabot can still create security updates for vulnerable dependencies if you have enabled Dependabot security updates in your repository settings. However, you will not receive automated version updates. 也就是说删除本文件**只关掉版本更新**;安全告警与安全更新是仓库级设置、不受影响, 漏洞出现时仍会自动开修复 PR。 依赖安全由这几层继续覆盖: - check:deps-risk(门禁,唯一能阻断的东西):带 high/critical 的依赖合不进来 - dependency-audit.yml(每周定时巡检) - Dependabot alerts + security updates(仓库设置,本次同时开启) 版本更新改为**季度一次人工批量**:本轮已验证人工批量远比 PR-per-group 有效 (一次处理 100+ 个依赖项,每项都跑完整门禁并做了线上验证)。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
本仓不再需要自动的"版本更新 PR"。实测数据:
历史 Dependabot PR 中 78% 是关闭未合并的(7 个仓合计 180 个 PR,仅 39 个合并)。
抽样确认其中绝大多数是 dependabot[bot] 自己关闭的——新版本出现后它开新 PR
取代旧的,属于纯 churn:不需要人工处理,但会持续刷通知、堆满 PR 列表。
分组方式影响很大:major 不分组时合并率 75%,重度分组时低至 6%。
按 GitHub 官方文档(About the dependabot.yml file):
Without a dependabot.yml file, Dependabot can still create security updates
for vulnerable dependencies if you have enabled Dependabot security updates
in your repository settings. However, you will not receive automated version
updates.
也就是说删除本文件只关掉版本更新;安全告警与安全更新是仓库级设置、不受影响,
漏洞出现时仍会自动开修复 PR。
依赖安全由这几层继续覆盖:
版本更新改为季度一次人工批量:本轮已验证人工批量远比 PR-per-group 有效
(一次处理 100+ 个依赖项,每项都跑完整门禁并做了线上验证)。