Required when sparse-checkout patterns include files (not just dirs) —
lint-github-docs uses cone-mode=false to pin package.json, pnpm-lock.yaml
etc. Without the passthrough actions/checkout treats files as dirs.
description:'Newline-separated sparse-checkout patterns. When set, the GCS cache is bypassed entirely and the step is a plain actions/checkout — avoids polluting the full-tree cache with sparse trees.'
description:'Newline-separated sparse-checkout patterns. When set, the GCS cache is bypassed entirely and the step is a plain actions/checkout — avoids polluting the full-tree cache with sparse trees.'
required:false
required:false
default:''
default:''
sparse-checkout-cone-mode:
description:'Whether sparse-checkout patterns are cone-mode (true) or full patterns (false). Required as "false" when patterns include files, not just directories.'
required:false
default:'true'
ref:
ref:
description:'Branch, tag or SHA to check out on cache miss. Defaults to the workflow ref.'
description:'Branch, tag or SHA to check out on cache miss. Defaults to the workflow ref.'