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'.

  1. Go to https://github.com/<YOUR_ORGANIZATION_NAME>/<YOUR_REPO_NAME>/settings/branches.
  2. Go to section 'Branch protection rule'.
  3. Mark the checkbox 'Allow deletions'.

Read more: