GitHub Branch Rulesets can protect main from force push and deletion without requiring PRs
GitHub Rulesets let you block force pushes and branch deletion on main without requiring pull requests. Perfect for personal repos where you push content directly to main.