diff --git a/pkg/runner/action_cache.go b/pkg/runner/action_cache.go index 471ed9e..2b83aff 100644 --- a/pkg/runner/action_cache.go +++ b/pkg/runner/action_cache.go @@ -77,6 +77,7 @@ func (c GoGitActionCache) Fetch(ctx context.Context, cacheDir, url, ref, token s }, Auth: auth, Force: true, + Depth: 1, }); err != nil { return "", fmt.Errorf("GoGitActionCache failed to fetch %s with ref %s at %s: %w", url, ref, gitPath, err) }