mirror of
https://github.com/actions/checkout.git
synced 2025-12-14 14:29:23 +00:00
Update action.yml
This commit is contained in:
@@ -5,10 +5,9 @@ inputs:
|
|||||||
repository:
|
repository:
|
||||||
description: 'Repository name'
|
description: 'Repository name'
|
||||||
ref:
|
ref:
|
||||||
description: 'Ref to checkout (SHA, branch, tag).'
|
description: 'Ref to checkout (SHA, branch, tag)'
|
||||||
token:
|
token:
|
||||||
description: 'Access token for clone repository'
|
description: 'Access token for clone repository'
|
||||||
default: ${{ github.token }}
|
|
||||||
clean:
|
clean:
|
||||||
description: 'If true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching'
|
description: 'If true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching'
|
||||||
default: true
|
default: true
|
||||||
@@ -20,6 +19,5 @@ inputs:
|
|||||||
description: 'The depth of commits to ask Git to fetch; defaults to no limit'
|
description: 'The depth of commits to ask Git to fetch; defaults to no limit'
|
||||||
path:
|
path:
|
||||||
description: 'Optional path to check out source code'
|
description: 'Optional path to check out source code'
|
||||||
default: 'foo/${{github.ref}}'
|
|
||||||
runs:
|
runs:
|
||||||
plugin: 'checkout'
|
plugin: 'checkout'
|
||||||
|
|||||||
Reference in New Issue
Block a user