0
1
mirror of https://github.com/actions/checkout synced 2024-06-02 18:48:04 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Jake Bailey
daad6dbf8f
Merge 3c3e99848b into 43045ae669 2024-04-23 21:48:52 -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

@ -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: >