Allow to pass '--skip-checks' option when sparse-checkout
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.
+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
+1 Exclusion support with cone mode would be nice
Workaround is to disable cone mode
+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 !.