Is there a way to setup branch permissions to only allow commits to the master branch via pull requests?
I would like to configure our repository such that developers cannot directly commit to the master branch. They should be allowed to commit to feature branches, issue pull requests, and once approved merge the feature branch down to master.
The issue I am facing is that if permissions to commit to master are revoked, a developer is unable to click the 'merge' button to complete a pull request. Is there currently any way around this?