0
1
Fork 0
mirror of https://github.com/actions/checkout synced 2024-06-30 16:32:38 +02:00
checkout/action.yml

24 lines
764 B
YAML
Raw Normal View History

2019-07-19 20:39:12 +02:00
name: 'Checkout'
description: 'Get sources from a GitHub repository.'
author: 'GitHub'
inputs:
repository:
description: 'Repository name'
ref:
2019-07-22 16:25:12 +02:00
description: 'Ref to checkout (SHA, branch, tag)'
2019-07-19 20:39:12 +02: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 16:23:47 +02:00
fetch-depth:
2019-07-19 20:39:12 +02: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-22 04:07:00 +02:00
plugin: 'checkout'