Changing the VSTS approver policy from a particular branch

时间:2016-07-11 20:01:35

标签: git azure-devops git-branch pull-request

I'm using git and VSTS and I have a several Pull Requests into the develop branch that I've approved and I'd like to Complete. The changes in these branches are really trivial, just translation strings.

In branch policies I can change the Code Review requirements for feature/TranslationString123, but that doesn't really help me, since I'm trying to merge the contents of those branches into the develop branch.

I believe that I have the permissions to change the Minimum number of reviewers to 1 for the develop branch, but that doesn't seem like a good idea. Does anyone have a good idea for a way to expedite the approve the completion of these specific branches?

1 个答案:

答案 0 :(得分:1)

有一个"免于政策执行"分支机构下的选项"安全"设置。将其设置为"允许"将允许您完成拉动请求绕过分支策略。 enter image description here