fix(ci): correct three bugs in release-graph workflow

- extract graphify/ (code only) instead of . to avoid LLM API key requirement;
  the repo root contains docs/skills/.md files that trigger semantic extraction
- use --out . so output writes to ./graphify-out/ not ./graphify/graphify-out/
- remove --out from export html (flag does not exist; HTML auto-written next to graph)
- drop nonexistent --code-only flag from extract command
- add comments explaining each flag's behavior

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Safi
2026-06-10 21:15:00 +01:00
co-authored by Claude Sonnet 4.6
parent 7182b18c35
commit 1513e6271a
+6 -2
View File
@@ -23,10 +23,14 @@ jobs:
run: uv sync --frozen
- name: Build graph of graphify source (AST-only, no API cost)
run: uv run --frozen graphify extract . --code-only --out graphify-out
# 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 .
- name: Generate HTML viewer
run: uv run --frozen graphify export html --graph graphify-out/graph.json --out graphify-out/graph.html
# HTML is written next to graph.json automatically; no --out flag needed.
run: uv run --frozen graphify export html --graph graphify-out/graph.json
- name: Bundle release asset
run: |