3

Is it possible to configure the repository to skip "At least one reviewer must approve the most recent iteration" in case the person who performs the Pull request is the project administrator?

I have the below branch Policy:

enter image description here

I made the review approbation for my own commit.

enter image description here

But when I'm going to complete the pull request, I get the below message:

enter image description here

At least one reviewer must approve the most recent iteration.

It's possible to skip review requirement only for project administrators?

1 Answer 1

4

As a workaround, you can add "bypass policies" for project admins.

enter image description here

The documentation: Security groups - Git repository (object-level)

2
  • That made the trick, a new option appears at the end: "Override branch policies and enable merge".
    – Goerman
    Jan 19, 2021 at 19:46
  • This solution allows the author to also bypass policies such as unresolved comments and failing builds.
    – LIvanov
    Feb 4, 2023 at 22:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.