fix: replace sparse-checkout with shallow clone for silo docs #126

Merged
forbes merged 1 commits from fix/silo-docs-sparse-checkout into main 2026-02-09 18:56:46 +00:00
Owner

Summary

Fixes fatal: 'README.md' is not a directory error in the silo docs fetch step.

Changes

Replaces git clone --filter=blob:none --sparse + git sparse-checkout set with a simple git clone --depth 1 in both:

  • docs.yml
  • sync-silo-docs.yml

git sparse-checkout set doesn't support individual files (only directories), so it fails on README.md, ROADMAP.md, and frontend-spec.md. A shallow clone is simpler and the silo repo is small enough that this is fine.

Follow-up to #125 / #122

## Summary Fixes `fatal: 'README.md' is not a directory` error in the silo docs fetch step. ## Changes Replaces `git clone --filter=blob:none --sparse` + `git sparse-checkout set` with a simple `git clone --depth 1` in both: - `docs.yml` - `sync-silo-docs.yml` `git sparse-checkout set` doesn't support individual files (only directories), so it fails on `README.md`, `ROADMAP.md`, and `frontend-spec.md`. A shallow clone is simpler and the silo repo is small enough that this is fine. ## Related Issues Follow-up to #125 / #122
forbes added 1 commit 2026-02-09 18:56:27 +00:00
fix: replace sparse-checkout with shallow clone for silo docs
Some checks failed
Build and Test / build (pull_request) Has been cancelled
3406df52aa
git sparse-checkout fails on individual files (README.md, ROADMAP.md)
with 'is not a directory' error. A shallow clone is simpler and the
silo repo is small enough that it's fine.
forbes merged commit 5035cf7f93 into main 2026-02-09 18:56:46 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/create#126