Search code examples
githubcodecov

How to limit which organizations to allow access for when oauth'ing CodeCov.io for Github.com?


I have a private repository that belongs to an organization setup with https://codecov.io/. The code coverage reports are available at https://codecov.io/gh/myorganization/our-repository. However, when I click that last link I get this: enter image description here

Even though other people in my organization are able to view the report. Well ok, I click "Add private scope" to continue and am met with this: enter image description here

At the bottom there are the three organizations I'm a member of on GitHub. My problem is that I only want to give codecov access to one of these. Is it possible to "uncheck" the others, and only give codecov access to a single organization? I've tried clicking the green checkmarks. That just takes me to this page.


Solution

  • This seems to have changed recently. In early 2022, it is possible to grant access individually if you are allowed to do that, or to ask the org about it.

    I suspect the first org in my screenshot has already had access granted by someone else.

    Screenshot of the github auth screen for codecov. It shows three organisations, one with a green tick that seems to indicate it's already granted, one that has a grant button, and one that has a request button