dflook/Checkout
Checkout a GitHub repository at a particular ref
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 | — | ${{ github.repository }} |
| 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. Otherwise, uses the default branch. | — | — |
| token | Token to use when checking out the repository | — | ${{ github.token }} |
| path | Relative path under $GITHUB_WORKSPACE to place the repository | — | . |
Outputs
| name | description |
|---|---|
| ref | The branch, tag or SHA that was checked out |
| commit | The commit SHA that was checked out |