Add clean-exclude input

This allows clients to ignore specific paths from the clean phase of the
checkout.
This commit is contained in:
Matthew Endsley 2022-10-28 20:20:33 -07:00
parent 925b9fdcfa
commit 0f6c54dea3
8 changed files with 38 additions and 9 deletions

View file

@ -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