【发布时间】:2021-01-14 21:33:11
【问题描述】:
在“Dependabot 正在原生迁移到 GitHub!”之后,我不得不更新我的dependabot 配置文件以使用版本 2 格式。
我的 .dependabot/config.yaml 看起来像:
version: 1
update_configs:
- package_manager: "python"
directory: "/"
update_schedule: "live"
automerged_updates:
- match:
dependency_type: "all"
update_type: "all"
我有以下工作:
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
但我似乎无法再次添加自动合并选项(使用 dependabot validator 检查时)?
【问题讨论】:
-
听起来他们现在可能会推迟这个功能:github.com/dependabot/dependabot-core/issues/1973
-
您应该将此添加为答案
-
此外,请注意,此功能永远不会添加到 GitHub 上的 Dependabot。检查@milton-castro 的答案
-
看起来 GitHub 不打算将其作为一项功能直接添加到 Dependabot,但他们已经正式记录了如何使用 Actions workflow 来做到这一点。
标签: python github yaml github-actions dependabot