cancel pull request if PR is not from specific branch(es)

Amarendra Bandla May 15, 2017

Hi,

Is is possible to cancel pull request if the target branch is, say, RELEASE and source branch is not DEVELOPMENT or TESTING. I am trying to use a pre-receive hook but not able to get 'inline script' syntax. Is there a way to use PullRequestOpenRequestedEvent Event Handler or pre receive hook to perform this? 

Thanks in Advance

-Amar

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events