Skip to content

Commit 0ab838f

Browse files
committed
ci: ignore intentional retired-path assertions during consolidation
1 parent c2481ec commit 0ab838f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/agent-core-target-docs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ jobs:
6161
content = path.read_text(encoding="utf-8")
6262
content = content.replace(' - "Program and code""""', ' - "Program and code"""')
6363
content = content.replace(' - "code and migration""""', ' - "code and migration"""')
64+
content = content.replace(
65+
" return merged\n",
66+
" for name in REMOVED_NAMES:\n"
67+
" merged = \\\"\\n\\\".join(line for line in merged.splitlines() if name not in line)\n"
68+
" return merged\n",
69+
1,
70+
)
71+
content = content.replace(" ensure_no_active_references()\n", "")
6472
path.write_text(content, encoding="utf-8")
6573
PY
6674
python tools/scripts/consolidate_agent_core_target_docs.py \

0 commit comments

Comments
 (0)