-
-
Notifications
You must be signed in to change notification settings - Fork 2
Azure.DevOps.Repos.Branch.BranchPolicyAllowSelfApproval
github-actions edited this page Dec 29, 2023
·
1 revision
category: Microsoft Azure DevOps Repos severity: Critical online version: https://github.com/cloudyspells/PSRule.Rules.AzureDevOps/blob/main/src/PSRule.Rules.AzureDevOps/en/Azure.DevOps.Repos.Branch.BranchPolicyAllowSelfApproval.md
Change authors should not be allowed to approve their own changes.
The branch policy should not allow creators to approve their own changes. This will help ensure that the code in the default branch is of a high quality and that the team's Git workflow is followed.
Mininum TokenType: ReadOnly
Consider disabling the option to allow creators to approve their own changes.