My requirement is I have to create a branch policy when ever a new branch is created through automation. I have the Az cli script and Azure devops pipeline to apply for the new branch which.
How to dynamically take the new branch name and automatically has to trigger the pipeline to apply the policy on the branch? Please suggest me. I am using Azure devops, Azure repo.