microsoft / azure-devops-dotnet-samples

.NET/C# samples for integrating with Azure DevOps Services and Azure DevOps Server
https://docs.microsoft.com/azure/devops/integrate
MIT License
522 stars 518 forks source link

Get branch policy for Pull Request #229

Open lg2de opened 5 years ago

lg2de commented 5 years ago

I'm looking for an example to get details for the branch policy of a single Pull Request and/or when the branch policy is met (build succeed, sufficient number of reviewers, etc.).

japj commented 4 years ago

We also would like to be able to write tooling that can check/monitor the PR branch policy status, but could not find any documentation/example for this.