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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jul 22, 2025
- License
- MIT
Pinned Snippet
uses: alnvdl-work/setup-private-repo@1d969ca162b9cdc89ea9e47afa25675c7d584e2b # v2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| repository | The fully-qualified name of the GitHub repository, for example: alnvdl-work/setup-private-repo | yes | — |
| token | A (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-key | A 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 | "" |
Outputs
no outputs