How do i restrict my developers from raising a pull request to particular branch e.g. - master?
I have one master branch and one feature-release branch. Every developer should be able to raise PR to the feature-release branch and should be restricted to raise a PR to master branch. Only certain leads or managers should be able to raise PR to master for merging the feature releases.
I have setup the branch restrictions for writing and merging to master branch but could not figure out restricting the PR raise for the master.
Any Help is appreciated.