This is a bug in gerrit. The workaround is to create another reference named refs/for/refs/heads/<BRANCH_NAME>
, and allow Push Merge Commit
on it.
To be more specifically, add following lines in your project.config
file
[access "refs/for/refs/*"]
pushMerge = group <your-id-here>