action.yml 968 B

12345678910111213141516171819202122232425262728
  1. name: 'Checkout'
  2. description: 'Checkout a Git repository'
  3. inputs:
  4. repository:
  5. description: 'Repository name with owner. For example, actions/checkout'
  6. default: ${{ github.repository }}
  7. ref:
  8. description: >
  9. Ref to checkout (SHA, branch, tag). For the repository that triggered the
  10. workflow, defaults to the ref/SHA for the event. Otherwise defaults to master.
  11. token:
  12. description: 'Access token for clone repository'
  13. default: ${{ github.token }}
  14. path:
  15. description: 'Relative path under $GITHUB_WORKSPACE to place the repository'
  16. clean:
  17. description: 'Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching'
  18. default: true
  19. fetch-depth:
  20. description: 'Number of commits to fetch. 0 indicates all history.'
  21. default: 1
  22. lfs:
  23. description: 'Whether to download Git-LFS files'
  24. default: false
  25. runs:
  26. using: node12
  27. main: dist/index.js
  28. post: dist/index.js