GitHub Repository settings in my personal development
Settings > General > Automatically delete head branches
Branch > Branch name pattern main
Require a pull request before merging
Require approvals
Dismiss stale pull request approvals when new commits are pushed
Require approval of the most recent reviewable push