How to pull a private repository in runner?

I have a repository using autodevops with a dependency to a gitlab private repository accessible thru the same account. git submodules are not a good use case.

How can I fetch the private repository in the build stage?

Thanks!

Did you find a solution for this yet?