Branch Protection Checks
Verify that your default branch has protection rules defined.
After integrating your Git repository with OpsLevel, you may want to ensure Branch Protection is enabled across your service repositories. This ensures their default branches are protected and cannot be deleted, force-pushed, etc.
The protection rules that can be defined vary by Git provider. Learn how to configure branch protection for GitHub, for Gitlab, and for bitbucket.
Note that for GitHub's new Rulesets, this check will confirm that Block force pushes
is enabled for your default branch.
Updated 3 months ago