1
0
mirror of https://github.com/actions/checkout.git synced 2026-03-10 09:01:44 +08:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Sylvain Rabot
0be65fb833
Merge 8a91892889 into 8edcb1bdb4 2025-08-08 15:48:49 -04:00
Tingluo Huang
8edcb1bdb4
Update CODEOWNERS for actions (#2224) 2025-07-23 09:20:20 -04:00
Sylvain Rabot
8a91892889
Disable lfs fetch when using a fetch filter
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2024-06-25 16:06:42 +02:00
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
* @actions/actions-launch * @actions/actions-runtime

2
dist/index.js vendored
View File

@ -1304,7 +1304,7 @@ function getSource(settings) {
// Explicit lfs-fetch to avoid slow checkout (fetches one lfs object at a time). // Explicit lfs-fetch to avoid slow checkout (fetches one lfs object at a time).
// Explicit lfs fetch will fetch lfs objects in parallel. // Explicit lfs fetch will fetch lfs objects in parallel.
// For sparse checkouts, let `checkout` fetch the needed objects lazily. // For sparse checkouts, let `checkout` fetch the needed objects lazily.
if (settings.lfs && !settings.sparseCheckout) { if (settings.lfs && !settings.sparseCheckout && !fetchOptions.filter) {
core.startGroup('Fetching LFS objects'); core.startGroup('Fetching LFS objects');
yield git.lfsFetch(checkoutInfo.startPoint || checkoutInfo.ref); yield git.lfsFetch(checkoutInfo.startPoint || checkoutInfo.ref);
core.endGroup(); core.endGroup();