【发布时间】:2022-06-14 13:09:21
【问题描述】:
我们希望使用 Dependabot 来了解更新的依赖项,但我们不希望 Dependabot 自行创建拉取请求并且不希望自动构建(我们使用 GitHub 进行代码,使用 Azure DevOps 进行构建)。
文档 (https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions) 中没有明确的提示来执行此操作。 我们已经尝试排除dependabot 分支,但这在任何形式下都不起作用。
# Azure DevOps Excludes
pr:
autoCancel: "true"
branches:
exclude:
- dependabot/*
- dependabot/**/*
我们还在 StackOverflow 上找到了将限制设置为 0 的提示,但仍然会创建 PR
version: 2
updates:
- directory: "/"
open-pull-requests-limit: 0
是否有可能将 Dependabot 用作信息源?
【问题讨论】:
标签: github azure-devops dependabot