Pipeline fails as repo on runner cloned as root

Hi forum,

Newbie alert - I run my pipeline and it fails a stage as it is wiring the repo to the runner as root, and cannot delete the copied files afterwards - anyone worked around a similar issue?

Thanks!