HiveBrain v1.2.0
Get Started
← Back to all entries
snippetgitMinor

How to skip reviewer for project administrator pull request?

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
pullrequestskipreviewerprojectforhowadministrator

Problem

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:

I made the review approbation for my own commit.

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

At least one reviewer must approve the most recent iteration.

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

Solution

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

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

Context

StackExchange DevOps Q#13151, answer score: 4

Revisions (0)

No revisions yet.