Introduction
Integrating GitHub with Azure DevOps, we can continue to use GitHub as our source code repository while taking advantage of Azure Pipelines' robust CI/CD features.
Our development workflow is streamlined by this integration, which also makes it possible for teams working on different platforms to collaborate more effectively.
Step 1. Open the Azure DevOps portal using the dev.azure.com URL, select the Organization, and select the Project.
Step 2. Select the Project settings.
Step 3. Select the Service connections under the Pipelines.
Step 4. Click the Create Service Connection.
Step 5. In the New Service Connection, select GitHub and click Next.
Step 6. Select the Personal Access Token and go to the GitHub tokens URL using https://github.com/settings/tokens URL.
Step 7. On the GitHub portal, on the Generate new Token, select Generate new Token (Beta).
Step 8. Enter the name of the Token and click Generate Token.
Step 9. Copy the Token.
Step 10. Paste the Token and click the Verify button.
Step 11. Enter the Service connection name, select Grant access permission to all pipelines, and then click Verify and Save.
Step 12. The GitHub is successfully integrated with the Azure DevOps portal.
Summary
In this article, we learned how to integrate GitHub into our DevOps portal. Once we integrate GitHub, we can create the Pipeline using GitHub repositories. In our next article, we will focus on creating the Pipeline using Azure Repos and GitHub Repos.