Skip to content

Latest commit

 

History

History

checkout

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

r-hub/actions/checkout

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.

Example

    steps:
      - uses: r-hub/actions/checkout@v1

Inputs

  • 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 or recursive to recursively checkout submodules. Forwarded to actions/checkout.

See https://github.com/actions/checkout.

License

MIT @ R Consortium