Commit 944a202e authored by Georges Racinet's avatar Georges Racinet 🦑

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.

branch : heptapod-0-16
parent bbedf868e916
Pipeline #12880 passed with stages
in 3 minutes and 27 seconds