Is there a way to apply branch policy coverage status checks to draft / unpublished pull requests in Azure DevOps?
I have a branch policy set on my main branch so that if anyone creates a pull request targeted to merge into that branch, the policy gets applied. The status check runs as expected if the pull request is published, but if the pull request remains as a draft / unpublished, then the status check won’t run. Is there a way to make this status check run on draft pull requests?
Azure Devops – Unable to close PR when multiple checks attached
I have a problem with closing pull requests in Azure DevOps on-premises when they contain multiple checks. For pull requests with many policies attached for changes or validator groups, when closing the pull request, I receive the following errors.