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

我有一个私有(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

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

最佳答案

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

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

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

https://stackoverflow.com/questions/59007315/

相关文章:

r - 代码相当于 RStudio 查看器 Pane 中的 'broom' 图标?

android - 无法再在 Android Studio 中运行单独的插桩测试

flutter - 将 mapEventToState 与传入流一起使用的最佳实践?

angular - ViewChild 与 Directive 获取 ViewContainerRe

reactjs - React 中的 forwardingRef 与回调 refs 有什么区别?

arrays - 当我在 PowerShell 中更改数组的值时,我不断收到 "Unable to

graphql - gatsby-source-contentful 不适用于 gatsby-tra

python - Jupyter Lab 交互图像展示 : issue with widgets a

visual-studio-code - VSCode 个人快捷方式在笔记本编辑器中不起作用

hibernate - Spring JPA 审计因多个数据源而失败