GitHub
Code quality
Delete-branch-on-merge disabled
Part of the Repository protection posture check · fix arrives as a guide
What it is
The repository does not delete head branches automatically when a pull request is merged.
Why it matters
Merged branches accumulate until the branch list is mostly dead references, which makes finding live work harder and leaves stale code visible to CI and to search.
How to fix it
Enable automatically delete head branches in the repository settings, then prune the existing merged branches once — the history is preserved in the default branch regardless.
Run them all on your app
Connect your repo and your live services with read-only scopes. The first scan is free, and nothing changes without your approval.