shshimamo/Retry Checkout
A wrapper around actions/checkout with retry support for transient network failures
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| max-attempts | Maximum number of checkout attempts (1-5) | no | 3 |
| retry-wait-seconds | Seconds to wait between retries | no | 10 |
| exponential-backoff | Use exponential backoff for retry intervals (wait * 2^(attempt-1)) | no | false |
| repository | Repository name with owner | no | ${{ github.repository }} |
| ref | The branch, tag or SHA to checkout | no | "" |
| token | Personal access token | no | ${{ github.token }} |
| path | Relative path under $GITHUB_WORKSPACE to place the repository | no | "" |
| clean | Whether to execute git clean -ffdx && git reset --hard HEAD before fetching | no | true |
| fetch-depth | Number of commits to fetch. 0 indicates all history for all branches and tags | no | 1 |
| fetch-tags | Whether to fetch tags | no | false |
| submodules | Whether to checkout submodules | no | false |
| lfs | Whether to download Git-LFS files | no | false |
| persist-credentials | Whether to configure the token or SSH key with the local git config | no | true |
Outputs
no outputs