Compare commits

...

2 commits

Author SHA1 Message Date
Jake Bailey
bfc68bdf66
Merge 3c3e99848b into cbb722410c 2024-11-14 10:02:04 -08: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

@ -79,6 +79,8 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
clean: '' clean: ''
# 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 # Default: null
filter: '' filter: ''

View file

@ -59,8 +59,9 @@ inputs:
default: true default: true
filter: filter:
description: > description: >
Partially clone against a given filter. Partially clone against a given filter. Overrides sparse-checkout if set.
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 default: null
sparse-checkout: sparse-checkout:
description: > description: >