I have a .NET Core app with a protected main branch. You can only push to the main branch via pull requests.
main
Before accepting those pull request