Problem with "pull request please!" hook plugin

Hello,

I can't get the ""pull request please!" plugin to work. I have a branch called "test" in stash, and I have tried every combination of settings i can think of. Have a look at the screenshot below.

 

When I try to push a commit to that branch, either by Intellij push, or via the command line with:

git checkout test

(change a file)

git commit -a -m 'test commit'

git push

 

The push always succeeds !

addon config.png

1 answer

Hi,

Sorry for my late reply! I'm the author of the plug-in.

"refs/heads/test" should be enough in the "ref-ids to protect" field of the hook to prevent pushes to this branch. Just to be safe: Are you sure that you are pushing to the remote branch "test" and that the hook is enabled on this repository?

Thanks,

Michael from Mibex Software

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

364 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you