action.yml 964 B

1234567891011121314151617181920212223
  1. name: 'Checkout'
  2. description: 'Checkout a Git repository.'
  3. inputs:
  4. repository:
  5. description: 'Repository name'
  6. ref:
  7. description: 'Ref to checkout (SHA, branch, tag)'
  8. token:
  9. description: 'Access token for clone repository'
  10. clean:
  11. description: 'If true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching'
  12. default: true
  13. submodules:
  14. description: 'Whether to include submodules: false to exclude submodules, true to include only one level of submodules, or recursive to recursively clone submodules; defaults to false'
  15. lfs:
  16. description: 'Whether to download Git-LFS files; defaults to false'
  17. fetch-depth:
  18. description: 'The depth of commits to ask Git to fetch; defaults to no limit'
  19. path:
  20. description: 'Optional path to check out source code'
  21. runs:
  22. # Plugins live on the runner and are only available to a certain set of first party actions.
  23. plugin: 'checkout'