Ensure GitHub branch protection rules does not allow deletions

Error: GitHub branch protection rules allow branch deletions
Bridgecrew Policy ID: BC_REPO_GITHUB_13
Checkov Check ID: CKV_GITHUB_18
Severity: LOW

GitHub branch protection rules allow branch deletions

Description

Protected branches are by default not able to be deleted. This can be overridden from the branch protection rules, but should not be. A human mistake can delete an important branch.