cnily03/Checkout

Checkout a Git repository at a particular version

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
repositoryRepository name with owner, or the URL.no${{ github.repository }}
fetch-depthNumber of commits to fetch. 0 indicates all history for all branches and tags.no1
branchBranch name.no""
pathThe repository path to clone to.no""
tokenPersonal access token (PAT) used to fetch the repository. [See here](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets). no${{ github.token }}
set-userSet the user.name and user.email in the checked-out repository.no""
cwdThe working directory to run commands in.no""
auto-create-cwdAutomatically create the working directory if it does not exist.nofalse
namedescription
repository_pathThe path of the repository that was checked out.
repository_nameThe name of the repository that was checked out.
refThe reference fetched.
shaThe commit SHA that was checked out.
branchThe branch that was checked out.