Skip to content

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

@omerzubair

Description

@omerzubair

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions