Hey,
I was looking in how to switch my cloud build configuration to use a different branch. The repository I am using is a private one and I am not the owner. I added the SSH key and it did show up the first time I set up the cloud build, and it is working just fine. However, now that I want to clone a different branch, whenever I get to the part where I am looking for the repo name, only my personal (public or private) repos show up.
Can someone shed some light in to the process? Why is it that I can’t see repos I contribute to when I am changing the target branch?
Cheers
Are you using Oauth (provider) setup? If so, you can only set up projects which you have admin access to since the Git providers we allow are all quite restrictive around configuring Webhooks (which we require in order to access your repo). Once you have completed the initial configuration you can reduce the permissions level if necessary.
I am using oauth setup. I changed my role to admin for both the repo and the organization the repo belongs to, but still I can only see my repositories when I change the configuration.
Would I reduce permission level in Github configuration or somewhere in the cloud build?
You need to complete the project setup before you change the role again. You can reduce permission level in Github configuration.