Check out a repo, a wrapper to https://github.com/actions/checkout.
This action exists to avoid having to update the R-hub workflow file
when the actions/checkout
action has a new tag, and to have complete
control over the R-hub workflow in general.
steps:
- uses: r-hub/actions/checkout@v1
repository
: Repository name with owner. For example,actions/checkout
.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.submodules
: Whether to checkout submodules:true
to checkout submodules orrecursive
to recursively checkout submodules. Forwarded toactions/checkout
.
See https://github.com/actions/checkout.
MIT @ R Consortium