chore(pipelines): set GITLAB_DEPENDENCY_PROXY if bot creates pipeline
What does this MR do and why?
This MR sets GITLAB_DEPENDENCY_PROXY to "" for bot started pipelines on the main branch.
Failure example: https://gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/-/jobs/12375658522
The aim is to fix the failures from danger-review, which uses that variable for the ruby image.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Edited by Terri Chu