5
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-11-07 05:26:55 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
Jake Bailey
f191a573cd
Merge 3c3e99848b into ff7abcd0c3 2025-08-13 10:30:45 -07:00
Jake Bailey
3c3e99848b Document that filter doesn't override fetch-depth 2023-10-05 09:04:25 -07:00
2 changed files with 5 additions and 2 deletions

View file

@ -105,6 +105,8 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
clean: ''
# Partially clone against a given filter. Overrides sparse-checkout if set.
# Note that when a filter is provided, fetch-depth is still respected; you
# may want to specify `fetch-depth: 0` to ensure the full history is fetched.
# Default: null
filter: ''

View file

@ -59,8 +59,9 @@ inputs:
default: true
filter:
description: >
Partially clone against a given filter.
Overrides sparse-checkout if set.
Partially clone against a given filter. Overrides sparse-checkout if set.
Note that when a filter is provided, fetch-depth is still respected; you
may want to specify `fetch-depth: 0` to ensure the full history is fetched.
default: null
sparse-checkout:
description: >