Unable to Check the option 'Prohibit the most recent pusher from approving their own changes'
See original GitHub issueusing 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
- Content Source: latest/docs-ref-autogen/repos/policy/required-reviewer.yml
- GitHub Login: @rloutlaw
- Microsoft Alias: routlaw
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:12 (1 by maintainers)
Top Results From Across the Web
Branch policy ignores "Prohibit the most recent pusher from ...
I create a repo with the following policy on branch master: Minimum number of reviewers: 1; Allow requestors to approve their own changes:...
Read more >Azure DevOps - Reviewer not able to accept his own changes
This appears to be a bug in DevOps when "When new changes are pushed: Require at least one approval on the last iteration"...
Read more >Git branch policies and settings - Azure Repos - Microsoft Learn
Select Prohibit the most recent pusher from approving their own changes to enforce segregation of duties.
Read more >Set Up a Gated Check-in Policy Using Azure DevOps Services
Set Up Minimum Number of Reviewers · Allow requestors to approve their own changes · Prohibit the most recent pusher from approving their...
Read more >Requestors Approving Their Own Changes In Azure Devops
Unable to set "Prohibit the most recent pusher from approving their own changes". #3078. Open. GaTechThomas opened this issue on Mar 1 ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@omerzubair We have not received any response from API team till now on this issue.
Will update on the same once we will get response from API team.
Hi @v-anvashist , this is the az command i use and cannot see any option for ‘Prohibit the most recent pusher from approving their own changes’
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