This commit is contained in:
Greg Bonaert 2025-06-06 13:47:18 -04:00 committed by GitHub
commit 46caa7f0e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 45 additions and 12 deletions

View file

@ -1,5 +1,8 @@
[![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 (see `exclude_from_clean` argument)
# Checkout V4
This action checks-out your repository under `$GITHUB_WORKSPACE`, so your workflow can access it.
@ -96,6 +99,9 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
# Default: true
clean: ''
# The path to exclude from cleaning
exclude_from_clean: ''
# Partially clone against a given filter. Overrides sparse-checkout if set.
# Default: null
filter: ''