1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-04-02 22:40:06 +02:00
checkout/action.yml

24 lines
764 B
YAML
Raw Normal View History

2019-07-19 14:39:12 -04:00
name: 'Checkout'
description: 'Get sources from a GitHub repository.'
author: 'GitHub'
inputs:
repository:
description: 'Repository name'
ref:
2019-07-22 10:25:12 -04:00
description: 'Ref to checkout (SHA, branch, tag)'
2019-07-19 14:39:12 -04:00
token:
description: 'Access token for clone repository'
clean:
description: 'If true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching'
default: true
submodules:
description: 'Directory containing files to upload'
lfs:
description: 'Whether to download Git-LFS files; defaults to false'
2019-07-22 10:23:47 -04:00
fetch-depth:
2019-07-19 14:39:12 -04:00
description: 'The depth of commits to ask Git to fetch; defaults to no limit'
path:
description: 'Optional path to check out source code'
runs:
2019-07-21 22:07:00 -04:00
plugin: 'checkout'