mirror of
https://github.com/actions/checkout.git
synced 2025-04-21 01:56:45 +00:00
Add clean-exclude input
This allows clients to ignore specific paths from the clean phase of the checkout.
This commit is contained in:
parent
925b9fdcfa
commit
0f6c54dea3
8 changed files with 38 additions and 9 deletions
|
@ -53,6 +53,9 @@ inputs:
|
|||
clean:
|
||||
description: 'Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching'
|
||||
default: true
|
||||
clean-exclude:
|
||||
description: 'Comma separated paths to exclude when executing `git clean -ffdx`'
|
||||
default: ''
|
||||
fetch-depth:
|
||||
description: 'Number of commits to fetch. 0 indicates all history for all branches and tags.'
|
||||
default: 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue