Is it possible to set branch policies across all repo's? In other words, When creating a branch, a default branch policy is already set for master.
It's been changed now. So for others who look for it, you can find it there:
Screen from the mentioned view
Right now you can't. You could listen to events in Azure DevOps for project creation for example and then set the policy yourself. For some information how to start see here: https://learn.microsoft.com/en-us/azure/devops/repos/git/create-pr-status-server-with-azure-functions?view=vsts
Indeed as @Thomas Harris mentioned in the comment above, you can set it for all repos in a single project via
And then you can select whether this applies to the default branch or a specific branch name pattern.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With