Ensure branch deletions are disabled
Risk Level: high
Platform: Github
Spectral Rule ID: GH-HRD031
REMEDIATION
SaaS:
Go to 'Branch protection rule' and mark the checkbox 'Allow deletions'.
- Go to
https://github.com/<YOUR_ORGANIZATION_NAME>/<YOUR_REPO_NAME>/settings/branches. - Go to section 'Branch protection rule'.
- Mark the checkbox 'Allow deletions'.
Read more:
Updated 7 months ago