0P-2026-0908-006
GitHub 调整 Dependabot 私有包读取方式
事实摘要
GitHub Changelog 在 2026-09-08 发布 Dependabot 自动访问 GitHub 托管 registry 的公告。公告称,在包侧授予仓库读取权限后,Dependabot 可读取 GitHub Packages 中的私有包,不再需要为支持的生态系统单独配置个人访问令牌。
公告说明,配置路径是在包页面的 Manage Actions
access 中添加仓库并授予 read 访问权限;Dependabot 更新作业会为 *.pkg.github.com 和 ghcr.io
端点发送带有 packages:read 权限的 GITHUB_TOKEN。GitHub 同时说明该功能在一次回滚后重新启用,并作为备用认证机制运行。
关联档页
3 条GitHub 扩展 Dependabot 恶意软件包告警生态范围
GitHub Changelog 2026-07-28 发布 Dependabot alerts on malicious packages across more ecosystems 资料。
GitHub Changelog 发布 Dependabot 默认 package cooldown 资料
GitHub Changelog 2026-07-14 发布 Dependabot version updates 默认 package cooldown 资料。
GitHub Changelog 列出 Dependabot 支持 Deno 生态版本更新
GitHub Changelog 在 2026-06-09 列出“Dependabot version updates now support the Deno ecosystem”。