fix: disable LFS checkout in docs build and unbloat-docs AW#39942
fix: disable LFS checkout in docs build and unbloat-docs AW#39942Copilot wants to merge 3 commits into
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Disables Git LFS checkout in the docs build and the documentation “unbloat” agentic workflow to prevent CI failures from git lfs fetch when LFS-tracked slide assets aren’t needed for these jobs.
Changes:
- Turn off
lfsin the docs deployment workflow checkout step. - Turn off
lfsin the unbloat-docs workflow checkout step and recompile the corresponding lock file. - Update the setup-cli install script header comment (but it now reads self-referential/ambiguous).
Show a summary per file
| File | Description |
|---|---|
| actions/setup-cli/install.sh | Updates the header sync note (currently ambiguous/self-referential). |
| .github/workflows/unbloat-docs.md | Disables LFS during checkout for the unbloat-docs workflow. |
| .github/workflows/unbloat-docs.lock.yml | Regenerated compiled workflow to reflect lfs: false. |
| .github/workflows/docs.yml | Disables LFS during checkout for the docs build/deploy workflow. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 4/4 changed files
- Comments generated: 1
| set +o histexpand | ||
|
|
||
| # Kept in sync with install-gh-aw.sh — edit that file, then copy to this path. | ||
| # Kept in sync with actions/setup-cli/install.sh — edit this file, then copy to that path. |
|
Hey One small thing to address:
If you'd like a hand tidying up: Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "patchdiff.githubusercontent.com"See Network Configuration for more information.
|
|
@copilot merge main and recompile |
…uild-to-ignore-lfs # Conflicts: # actions/setup-cli/install.sh Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done — merged |
git lfs fetchwas failing with exit code 2 on CI runners (run), blocking the unbloat-docs AW before the agent could start. The repo has LFS-tracked slide assets (docs/slides/**) but neither the Astro docs build nor the unbloat AW need them.Changes
.github/workflows/unbloat-docs.md—lfs: true→lfs: falsein checkout step; recompiled lock file.github/workflows/docs.yml— same fix in the regular doc build/deploy workflow