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