Lock pull request to be from specific branch

Actually, I wonder if I can enforce pull requests for a specific branch to only be accepted if it is created from certain branches, otherwise automatically reject.

1 Like

Hi @bsalam,

I’d recommend reading up on protected branches. Using protected branches can help you restrict certain actions to branches you identify.