Displianabot不添加团队作为审阅者

发布于 2025-02-11 06:30:20 字数 429 浏览 1 评论 0原文

我已经在org存储库中实现了依赖核。 Dispenabot正在创建拉动请求。但这没有添加任何团队审阅者,没有关于PR或依赖关系图的错误日志;依赖关系。

我的YML配置: -

version: 2
updates:

  # Maintain dependencies for login
  - package-ecosystem: "npm"
    directory: "/login"
    schedule:
      interval: "monthly"
    reviewers:
      - "org/cloud-reviewers"
    pull-request-branch-name:
      separator: "-"
    target-branch: "dev"
    open-pull-requests-limit: 5

I have implemented dependabot in my org repo.
Dependabot is creating pull requests all fine. But it's not adding any team reviewers, there are no error logs on PR or in Dependency graph> dependabot.

My yml config:-

version: 2
updates:

  # Maintain dependencies for login
  - package-ecosystem: "npm"
    directory: "/login"
    schedule:
      interval: "monthly"
    reviewers:
      - "org/cloud-reviewers"
    pull-request-branch-name:
      separator: "-"
    target-branch: "dev"
    open-pull-requests-limit: 5

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

瞎闹 2025-02-18 06:30:20

您是对的,自2020年7月以来,您可以“ 分配一个github团队来审查依赖关系拉动请求

但是 configure distrabot.yml/审阅者 部分包括:

您必须使用完整的团队名称,包括组织,就好像您是@mentioning团队。

因此,如果org/cloud-Reviewers是正确的ID(例如,请在评论中提及该帐户)
并检查许可级别包括提交 pr评论


op nandan raj 评论 没有对PR审查的团队没有正确权限的问题。

You are right that since July 2020, you can "assign a GitHub team to review Dependabot pull requests".

But the Configure dependabot.yml / reviewers section includes:

You must use the full team name, including the organization, as if you were @mentioning the team.

So double-check if org/cloud-reviewers is the right id (try and @ mention that account in a comment for instance)
And check if the permission level include submitting a PR review.


The OP Nandan Raj confirms in the comments an issue with not having the correct permissions to the Team used for PR review.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文