gpt4 book ai didi

github - 在为 Github.com 授权 CodeCov.io 时如何限制允许访问的组织?

转载 作者:行者123 更新时间:2023-12-05 04:02:21 24 4
gpt4 key购买 nike

我有一个属于组织设置的私有(private)存储库 https://codecov.io/ .代码覆盖率报告可在 https://codecov.io/gh/myorganization/our-repository 获得。 .但是,当我单击最后一个链接时,我得到了这个: enter image description here

即使我组织中的其他人能够查看报告。好吧,我点击“添加私有(private)范围”继续,我遇到了这个: enter image description here

底部是我在 GitHub 上加入的三个组织。我的问题是我只想让 codecov 访问其中一个。 是否可以“取消选中”其他人,并只向单个组织授予 codecov 访问权限?我试过单击绿色复选标记。那只是带我到this page .

最佳答案

我通过电子邮件向 GitHub 询问了这个问题,得到了这样的回复:

It is not currently possible to lock down a Personal Access Token, or an OAuth token generated by an OAuth application, to only have access to specific repositories. When a token is generated with the repo scope, that token grants access to all the repositories, public and private, that the corresponding user has access to.

However, I did want to mention GitHub Apps as a possible option. GitHub Apps offers more detailed control over what repositories the 3rd party application has access to.

因此无法限制 codecov.io 可以访问哪些组织。

关于github - 在为 Github.com 授权 CodeCov.io 时如何限制允许访问的组织?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54416488/

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