actions / checkout
blob · action.yml · yaml
action.ymlyaml
1name: 'Checkout'2description: 'Checkout a Git repository'3inputs: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: true13 submodules:14 description: 'Directory containing files to upload'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'21runs:22 plugin: 'checkout'23
100%