Branch protection is an important GitHub feature that enables you to protect git branches from unauthorized modifications. By setting branch protection, you can define whether collaborators can delete or force push to the branch and set requirements for any pushes to that branch. For example, requirements like minimum number of approvers for PRs and a list of mandatory status checks.
|Stack layer||Security domain||Security tool initiated by this item|
|Data||SaaS vulnerability||bp-github-checker (Jit Internal Tool)|
- Required number of approvals — When enabled, Jit will check whether pull requests targeting the default branch require this number of approvals before they can be merged.
- Require status checks — When enabled, Jit will check whether these status checks must pass before pull requests can be merged to the default branch.
Jit strongly recommends all users use this requirement to validate branch protection rules requiring passage of the Jit Security status check before merging.
Updated 21 days ago