mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-21 17:12:03 +03:00
enbl-4519 updating code to use relative paths that are parent paths of the workspace
This commit is contained in:
parent
25a956c84d
commit
e6a424882a
8 changed files with 13062 additions and 12835 deletions
|
@ -1,4 +1,4 @@
|
|||
name: 'Checkout'
|
||||
name: 'GitCheckout'
|
||||
description: 'Checkout a Git repository at a particular version'
|
||||
inputs:
|
||||
repository:
|
||||
|
@ -49,7 +49,10 @@ inputs:
|
|||
description: 'Whether to configure the token or SSH key with the local git config'
|
||||
default: true
|
||||
path:
|
||||
description: 'Relative path under $GITHUB_WORKSPACE to place the repository'
|
||||
description: 'Relative path under the workspace folder to place the repository'
|
||||
allow_parent_path:
|
||||
description: 'allows path option to result in a path that is a parent of the working directory. This may have unforseen consequences.'
|
||||
default: false
|
||||
clean:
|
||||
description: 'Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching'
|
||||
default: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue