davidrfreeman/Docker Checkout
Checkout a Git repository using Docker - no Node.js required
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repository | Repository name with owner. For example, actions/checkout | no | — |
| ref | The branch, tag or SHA to checkout. When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event. | no | — |
| token | Personal access token (PAT) used to fetch the repository. Not typically needed for public repos. | no | — |
| ssh-key | SSH key used to fetch the repository. Not typically needed. | no | "" |
| ssh-known-hosts | Known hosts in addition to the user and global host key database | no | "" |
| persist-credentials | Whether to configure the token or SSH key with the local git config | — | true |
| path | Relative path under $GITHUB_WORKSPACE to place the repository | — | . |
| clean | Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching | — | true |
| fetch-depth | Number of commits to fetch. 0 indicates all history for all branches and tags. | — | 1 |
| lfs | Whether to download Git-LFS files | — | false |
| submodules | Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules | — | false |
| set-safe-directory | Add repository path as safe.directory for Git global config | — | true |
Outputs
no outputs