Azure / Azure/azure-cli

Unable to uncheck 'Allow requestors to approve their own changes' under Completion options

Open
#22,624 16 comments 1 reaction 0 assignees View on GitHub
act-platform-engineering-squad customer-reported DevOps Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

I was not able to find the switch to be able to uncheck the "Allow requestors to approve their own changes".
There is no switch for update policy.

$requiredReviewer = az repos policy required-reviewer create `
--blocking true `
--branch "main" `
--branch-match-type "exact" `
--enabled true `
--repository-id $($repositoryid) `
--required-reviewer-ids $reviewerGroupId `
--org $adoOrg `
--project $adoProject `
--message $reviewerMessage

![image](https://user-images.githubusercontent.com/7728453/172253416-18dba8ae-bc1e-4b79-a93f-9f0d838ea3ce.png)

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: c8131327-0712-d643-9fd5-f172b25bd88e
* Version Independent ID: d39c0fdb-90a3-e3f2-92cc-c5135e93bd7d
* Content: [az repos policy required-reviewer](https://docs.microsoft.com/en-us/cli/azure/repos/policy/required-reviewer?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/repos/policy/required-reviewer.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/repos/policy/required-reviewer.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.