1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-07-12 08:40: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:
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

@ -29,6 +29,11 @@ export interface IGitSourceSettings {
*/
clean: boolean
/**
* Paths to ignore when cleaning the repository
*/
cleanExclude: string[]
/**
* The depth when fetching
*/