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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

182 views 0 4
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