linear-development/Checkout with retry
Drop-in checkout replacement with retry on network failures. Uses useblacksmith/checkout for Blacksmith git mirror cache on Blacksmith runners and falls back to standard clone on non-Blacksmith environments.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| persist-credentials | Whether to configure the token with the local git config | — | true |
| fetch-depth | Number of commits to fetch. 0 indicates all history for all branches and tags. | — | 1 |
| ref | The branch, tag or SHA to checkout. | — | "" |
| submodules | Whether to checkout submodules (true or recursive). | — | false |
| sparse-checkout | Do a sparse checkout on given patterns. Each pattern should be separated with new lines. | — | "" |
| sparse-checkout-cone-mode | Whether to use cone-mode when doing a sparse checkout. Set to "false" to allow gitignore-style include/exclude (denylist) patterns with leading slashes and "!". | — | true |
| filter | Partially clone against a given filter (e.g. blob:none). Note: setting sparse-checkout already implies --filter=blob:none, so this is only needed to override that (e.g. tree:0) or to filter without a sparse set. | — | "" |
| token | Personal access token used to fetch the repository. | — | ${{ github.token }} |
| repository | Repository name with owner. | — | ${{ github.repository }} |
Outputs
no outputs