GitHub and Azure DevOps Integration

February 27, 2019

GitHub logo

Azure DevOps is growing and nothing indicates that its popularity will decrease. Along with this, several new integrations and possibilities open up. In this blog post, I will describe how to set up the GitHub and Azure DevOps integration. More specifically, this is how to get GitHub working with Azure Pipelines and Azure boards.

GitHubs and Azure Pipelines

Start by logging in to your GitHub project.

Log in to your GitHub project

Select Marketplace, search for and add Azure Pipelines. It’s kind of nice that you can build for Windows, Linux and Mac out of the box.

Azure Pipelines


With Azure Pipelines, you can connect to an existing Azure DevOps organization – or create a new one. Now, log in to Azure DevOps and setup a new build selecting the GitHub or GitHub Enterprise source control option.


You will have to authenticate to GitHub with a PAT token. After that, select triggers to set up CI and/or Pull Request builds.


The result in GitHub after doing a Pull request looks like this:


When you click on Details, you see the actual build in Azure DevOps.


GitHub and Azure Boards

Next, we look ad Azure Boards. Boards is the agile planning part of Azure DevOps, including backlogs, Kanban boards and sprint planning.

Start by logging in to Azure DevOps and select Project settings, then GitHub connections and finally connect to your GitHub account.

Connect with Azure Boards

To connect a commit or Pull request to a work item in Azure DevOps you need to use the following syntax in the commit message or Pull request title:


The result is shown here if we open a work item connected to a pull request or commit.



That covers the integration today and both the GitHub – Azure Pipelines and GitHub – Azure Boards work really well. One thing that I think is missing is some kind of integration between GitHub issues and Azure Boards. Hopefully we will see that added soon.



Azure DevOps: