question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to Check the option 'Prohibit the most recent pusher from approving their own changes'

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
v-anvashistcommented, Jul 22, 2022

@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.

1reaction
omerzubaircommented, Jun 6, 2022

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

image

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found