Merge branch 'backport-112-to-3-6-stable' into '3-6-stable'

Backport "Pass relevant git environment variables while calling `/allowed`" to 3-6-stable

See merge request !120
4 jobs for wild/a2c16b232308c8f0bc5ee02d508f3f7b2de24941 in 0 seconds (queued for 74 minutes and 26 seconds)