This is the non-root user I am creating in the Docker image to run the workflow:
RUN useradd --shell /bin/bash --create-home cicd-runner USER cicd-runner
When I try to simply checkout the repo with the official checkout action, this error appears:
/usr/bin/git init /__w/pydeps/pydeps /__w/pydeps/pydeps/.git: Permission denied Error: The process '/usr/bin/git' failed with exit code 1
What permissions do I need to give the non-root user ?