mirror of
https://github.com/actions/checkout.git
synced 2025-12-14 06:19:24 +00:00
Exclude path from clean
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
[](https://github.com/actions/checkout/actions/workflows/test.yml)
|
||||
|
||||
Changes compared to https://github.com/actions/checkout:
|
||||
- Can exclude path when cleaning repository
|
||||
|
||||
|
||||
# Checkout V4
|
||||
|
||||
This action checks-out your repository under `$GITHUB_WORKSPACE`, so your workflow can access it.
|
||||
@@ -77,7 +81,10 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
|
||||
# Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching
|
||||
# Default: true
|
||||
clean: ''
|
||||
|
||||
|
||||
# Path to exclude from cleaning
|
||||
exclude_from_clean: ''
|
||||
|
||||
# Partially clone against a given filter. Overrides sparse-checkout if set.
|
||||
# Default: null
|
||||
filter: ''
|
||||
|
||||
Reference in New Issue
Block a user