To clone another repository from Github Action use
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
repository: dshumsky/quartz
path: './quartz'
ref: refs/heads/main
token: ${{ secrets.GH_TOKEN_QUARTZ }}
token is required if you clone private repo from public repo.