sesamecare/Checkout
Checkout a Git repository at a particular version
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| 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. | — | — |
| repo | The repository to fetch from. This can be in any format supported by `git fetch`, including remote URLs, repository names, and repository URLs. | — | github-actions |
| org | This action tries to auto detect the organization name from the repository, but if that is wrong, pass in the proper value (at some point you might as well just use actions/checkout directly, as we aren't saving you much) | no | — |
| path | The path, relative to your application root directory in which to place the custom actions. | — | .github/actions |
| token | Personal access token (PAT) used to fetch the repository. The PAT is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the PAT. We recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary. [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) | yes | — |
Outputs
no outputs