Clone gitlab-org/security/charts as a fallback
Overview
Replace the fallback from gitlab.com/charts to
gitlab.com/gitlab-org/security/charts to be able to clone the security
fork. Use dependent
repositories
to clone the forks since they are private repositories and the user that
triggers the job should have permissions to these repositories, which
all releases managers have.
The migration from gitlab.com/charts to gitlab-org/charts was done
so the fallback wasn't being used.
Testing
With 31a7f5f5 we can see it cloning private repositories from gitlab-org/security/charts in https://gitlab.com/charts/charts.gitlab.io/-/jobs/737949364
Related issues
Edited by Steve Xuereb