Newshot
Account

Dependabot 警报将在不活跃仓库中暂停

AI summary

自 2026 年 12 月 8 日起,GitHub 将对过去一年内无活动的大多数仓库关闭 Dependabot 警报;现有警报会被归档而非删除,可随时恢复。向任意分支或标签推送、创建仓库或开启 Dependabot 警报都算作活动,而任何推送都会自动重新开启警报并恢复归档警报,一年计时重新开始。对于启用了强制安全配置(其中开启 Dependabot 警报)的仓库,以及企业 Dependabot 警报策略不允许的仓库,GitHub 不会关闭警报。

Translation(model translation, not the source's own text)

从 2026 年 12 月 8 日起,GitHub 将在过去一年内没有任何活动的大多数仓库上关闭 Dependabot alerts。这些仓库现有的 alerts 会被归档,而不是删除,你可以随时恢复它们。随着漏洞发现数量和 alert 数量快速增长,这一调整能让 Dependabot 在你正在积极开发的仓库上保持快速和可靠。

什么算作活动

GitHub 将以下任一情况视为活动:

  • 向任何分支或标签推送
  • 创建仓库
  • 开启 Dependabot alerts

重新开启 alerts

向仓库进行任何推送都会自动重新开启 Dependabot alerts。你也可以在仓库的设置中开启它们。无论采用哪种方式,GitHub 都会恢复已归档的 alerts,并且一年的计时重新开始。

无论活动情况如何都保持 alerts 开启

对于启用了 Dependabot alerts 的强制执行安全配置的仓库,GitHub 不会关闭其 alerts。对于所在企业的 Dependabot alerts 策略不允许仓库管理员启用或禁用 alerts 的仓库,GitHub 也会跳过。

此变更适用于 github.com 上的所有方案,以及具有数据驻留的 GitHub Enterprise Cloud。对于数据驻留客户,归档的 alerts 存储在与企业其余数据相同的区域。此变更不适用于 GitHub Enterprise Server。

Only about 738 characters could be extracted — the rest did not come through (common on sites that need scrolling or a login). Read the original for the full piece.

Published by GitHub Changelog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗