gpt4 book ai didi

git - Devops Azure 没有足够的钩子(Hook)权限(对于协作者)

转载 作者:行者123 更新时间:2023-12-05 07:16:52 26 4
gpt4 key购买 nike

我有一个私有(private)存储库。我将我的 friend 添加为合作者。然后我还制作了 Devops Azure 并在 GitHub 上添加/安装了 Azure 管道。

现在,当我的 friend 登录他的 DevOps 帐户时,他想为我通过 GitHub 将他添加为协作者的项目创建一个管道。好处是他可以从下 pull 列表中看到存储库。当他选择该选项并单击查看并运行时,错误状态如下:

Unable to configure a service on the selected GitHub repository. This is likely caused by not having the necessary permission to manage hooks for the selected repository

知道如何修复它吗?或者我如何给予他足够的许可?

最佳答案

根据您的描述,我重现了您的问题。

enter image description here

导致此问题的原因是您的存储库是私有(private)的。如果是个人仓库,则只有仓库所有者才能创建钩子(Hook)。可以引用这个case有类似问题。

如果您使用经典编辑器创建管道,则只需获得 GitHub 个人访问 token 的授权。

enter image description here

关于git - Devops Azure 没有足够的钩子(Hook)权限(对于协作者),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59007315/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com