Problem with "pull request please!" hook plugin

athkalia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 21, 2014

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

0 votes
Mibex_Software
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 7, 2014

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
TAGS
AUG Leaders

Atlassian Community Events