Unable to Check the option 'Prohibit the most recent pusher from approving their own changes'
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
using this code and cannot find the switch which will Check the option 'Prohibit the most recent pusher from approving their own changes'
$approvercount = az repos policy approver-count create `
--allow-downvotes false `
--blocking true `
--branch main `
--creator-vote-counts false `
--enabled true `
--minimum-approver-count 1 `
--repository-id $($repositoryid) `
--reset-on-source-push true `
--org $adoOrg `
--project $adoProject
---
#### 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
Assessment
This issue has not been assessed yet.