1
0
Fork 0
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:
Gregory Bonaert 2025-04-09 17:24:36 +02:00
parent 85e6279cec
commit 9a73efb9ba
6 changed files with 28 additions and 5 deletions

View file

@ -1,5 +1,9 @@
[![Build and Test](https://github.com/actions/checkout/actions/workflows/test.yml/badge.svg)](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: ''