PreReceive GitLab hook: pass over HEPTAPOD_ACCEPT_MR_IID
Part of heptapod#368: the Rails app will be able to set this environment variable and we're now sending it back as the `accept_mr_iid` key to the listener for the pre-receive hook, so that the Rails app may apply merge permissions instead of (direct) push permissions. Using the (project-local) iid is better than the id, because the receiving end won't have to check that someone is trying to cheat with a MR on another project and is anyway fast compared to the overall amount of process on its side.
parent
bbedf868e916
No related branches found
Tags heptapod-0.12.0rc6
Checking pipeline status
Loading
Please register or sign in to comment