-
-
Notifications
You must be signed in to change notification settings - Fork 2
Azure.DevOps.Repos.DefaultBranchPolicyRequireBuild
github-actions edited this page Dec 29, 2023
·
1 revision
category: Microsoft Azure DevOps Repos severity: Severe online version: https://github.com/cloudyspells/PSRule.Rules.AzureDevOps/blob/main/src/PSRule.Rules.AzureDevOps/en/Azure.DevOps.Repos.DefaultBranchPolicyRequireBuild.md
The branch policy for the default branch should be configured to require a build or CI pipeline to pass before changes can be merged into the default branch.
The branch policy should be configured to require a build or CI pipeline to pass before changes can be merged into the default branch. This ensures that changes are validated before being merged into the default branch. This rule does not validate that the build or CI pipeline is configured correctly. It only validates that a build or CI pipeline is configured.
Mininum TokenType: ReadOnly
Consider enabling the branch policy to require a build or CI pipeline to pass