Creating a service connection for a GitHub Organization in Azure DevOps
In the second live to create the UDP - Universal Delivery Pipeline, we showed how to create a Service Connection for your GitHub Organization in Azure DevOps. In this post, I’ll walk through those steps.
The intuitive way doesn’t work =/
There is no explicit way to do this. Although GitHub is an option in Service Connections, it only links your personal account to Azure DevOps, so if you need to link your GitHub Organization it won’t work.
There is an option to link, but…
Where is my org repo?
Linking the GitHub Organization
The option to link your organization is under of all your personal repositories. So you need to go all the way to the to bottom, and them select an specific connection:
And then it will open a screen with the option to install the GitHub App:
It will redirect you to a GitHub page to choose your organization:
Now you need to give some credentials and after this you will have a service connection ready to use!
If you want more details, you can follow the video on the top of the post.
I hope it can be helpful and see you on the next post!
The UDP - Universal Delivery Pipeline is a set of YAML Pipelines templates that has the purpose to create build and deployment templates to deploy every kind of technology (dotnet, node, terraform, Java, etc), everywhere (public and private clouds such as Azure, AWS, GCP, VMWare, bare metal, etc).
We are creating this project in lives on the DevOps Nights channel and you can follow the progress every Thursday at 10 PM (CET) =).
You can see the code and contribute on our GitHub tag.