0
votes

If I make a pull request in ADO from one of my branches then any commits I push to my branch automatically trigger the build pipeline:


Screenshot from ADO showing automatic build triggered


This is configured in the build validation branch policies on master:


Screenshot from ADO showing branch policies for master


But for draft pull requests I need to trigger builds manually:


Screenshot from ADO showing manual build trigger


The documentation (here) does not mention any distinction between active and draft pull requests. How do I configure my project so that commits to branches in a draft pull requests automatically trigger a build?

1

1 Answers

1
votes

According to the docs:

Draft pull requests do not include reviewers or run builds by default but allow you to manually add reviewers and run builds. To promote the pull request to a normal pull request, simply click the Publish button from the pull request detail page.

So, it looks like you experience the expected behavior.