checkout icon indicating copy to clipboard operation
checkout copied to clipboard

Allow to pass '--skip-checks' option when sparse-checkout

Open mirror-kt opened this issue 2 years ago • 2 comments

Currently actions/checkout@v4 supports sparse-checkout.

However, if the target folder contains *? []\, we need the --skip-checks option to specify that cone mode is used, but currently there is no way to pass this option.

mirror-kt avatar Sep 22 '23 13:09 mirror-kt

+1, I need to skip some files using the ! character but get the error

Error: fatal: specify directories rather than patterns. If your directory starts with a '!', pass --skip-checks

egarc12 avatar Jul 03 '24 23:07 egarc12

+1 Exclusion support with cone mode would be nice

Workaround is to disable cone mode

Sam13 avatar Sep 28 '24 12:09 Sam13

+1 please provide an option to pass --skip-checks where sparse-checkout set is called.

Workaround: rather than !folder pass ./!folder then git no longer complains it starts with !.

StalkR avatar Jul 17 '25 22:07 StalkR