Merge when pipeline succeeds sometimes fails with a pre-receive hook regarding protected branches
Sometimes, setting "Merge when pipeline succeeds" results in a merge error regarding a pre-receive hook forbidding pushes to protected brances:
This happens even though I did not push to the branch, and I am allowed to merge into the target branch.
The only way to clear the error and retry the merge seemed to be to update the source branch, so the mergeability check is triggered.
Merge requests this happened in:
Edited by Sanad Liaquat