Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 989 Bytes

GitHub.Repo.Protected.md

File metadata and controls

26 lines (17 loc) · 989 Bytes
category severity online version
Repository
Critical

Use branch protection on the default branch

SYNOPSIS

Enable branch protection on the repository default branch.

DESCRIPTION

Branch protection rules ensure that collaborators on your repository cannot make irrevocable changes to branches. When a branch protection is enabled for a branch, commits are added through a pull request workflow. Additional options can also be configured to enforce additional requirements, such as passing status checks and required reviews.

RECOMMENDATION

Consider enabling branch protection on the repository default branch.

LINKS