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 <noreply@anthropic.com>
This commit is contained in:
Safi
2026-06-10 21:55:16 +01:00
co-authored by Claude Sonnet 4.6
parent e6d2dc4d6f
commit ba1921fe76
+7 -4
View File
@@ -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.