alnvdl-work/Setup private repo

setup-private-repo is a GitHub action that Clones a private GitHub repo using an SSH deploy key or personal access token, and configures Git to use that local copy instead. See the README for more details: https://github.com/alnvdl-work/setup-private-repo

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jul 22, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: alnvdl-work/setup-private-repo@1d969ca162b9cdc89ea9e47afa25675c7d584e2b # v2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
repositoryThe fully-qualified name of the GitHub repository, for example: alnvdl-work/setup-private-repo yes
tokenA (preferrably fine-grained) personal access token to use for cloning the private repo via HTTPS. For more details, see the README at: https://github.com/alnvdl-work/setup-private-repo no""
ssh-keyA private SSH key to use for cloning the private repo. For more details, see the README at: https://github.com/alnvdl-work/setup-private-repo no""

no outputs