Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 项目由 Bun 管理(bun.lock),默认的 npm_and_yarn 生态无法更新 bun.lock,安全更新会失败。
# open-pull-requests-limit: 0 关闭定期版本更新 PR,只保留安全更新。
version: 2
updates:
- package-ecosystem: 'bun'
directory: '/'
schedule:
interval: 'weekly'
open-pull-requests-limit: 0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 不要关闭 Bun 唯一受支持的更新路径

GitHub 当前仅支持 Bun 的版本更新,不支持安全更新,且依赖图支持列表中也没有 Bun(参见 Dependabot 支持矩阵 和 依赖图生态列表)。在这种情况下,open-pull-requests-limit: 0 又会关闭版本更新,因此该配置不会生成任何依赖更新 PR,也无法恢复提交说明中失败的安全更新;应允许定期 Bun 版本更新,或改用实际支持 Bun 漏洞更新的工具/流程。

Useful? React with 👍 / 👎.

Loading