mirror of
https://github.com/actions/checkout.git
synced 2025-05-14 02:19:29 +02:00
Exclude path from clean
This commit is contained in:
parent
85e6279cec
commit
9a73efb9ba
6 changed files with 28 additions and 5 deletions
|
@ -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: ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue