From ba1921fe76c2797ec32c210943f13e7db0a90762 Mon Sep 17 00:00:00 2001 From: Safi Date: Wed, 10 Jun 2026 21:55:16 +0100 Subject: [PATCH] fix(ci): skip .md/.txt files in release-graph to avoid LLM API key requirement graphify/skills/ contains 126 markdown files that trigger semantic extraction. Add a temporary .graphifyignore entry during CI to keep the build pure AST. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/release-graph.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-graph.yml b/.github/workflows/release-graph.yml index 59d1f1fb7..35dbd727e 100644 --- a/.github/workflows/release-graph.yml +++ b/.github/workflows/release-graph.yml @@ -23,10 +23,13 @@ jobs: run: uv sync --frozen - name: Build graph of graphify source (AST-only, no API cost) - # Extract only the graphify/ package directory — pure Python code, no - # docs/skill/markdown files — so extraction never needs an LLM API key. - # --out . writes output to ./graphify-out/ (not ./graphify/graphify-out/). - run: uv run --frozen graphify extract graphify/ --out . + # graphify/skills/ contains 126+ .md files that trigger the LLM pass. + # Temporarily ignore all .md files so extraction stays pure AST (no API key needed). + run: | + echo "*.md" >> .graphifyignore + echo "*.txt" >> .graphifyignore + uv run --frozen graphify extract graphify/ --out . + git checkout .graphifyignore 2>/dev/null || rm -f .graphifyignore - name: Generate HTML viewer # HTML is written next to graph.json automatically; no --out flag needed.