alexatkinson/Checkout From Tag
Shallow clones a repo to the depth of the specified tag (or commit hash). Depth is auto-detected.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repo | The repository to clone. | no | unset |
| ssh-token | Required for cloning private repositories in other organizations. | no | unset |
| tag | The tag (or commit hash) to clone to. | no | unset |
| dir | The target directory to clone into. | no | $GITHUB_WORKSPACE |
| output-depth-only | Output the detected depth only. | no | false |
Outputs
| name | description |
|---|---|
| depth | The depth of the tag/commit. |