Skip to content

ci: fix consolidation helper injection quoting #6

ci: fix consolidation helper injection quoting

ci: fix consolidation helper injection quoting #6

name: Consolidate Agent Core Target Document
on:
push:
branches:
- agent/consolidate-agent-core-target-doc
workflow_dispatch:
permissions:
contents: write
concurrency:
group: consolidate-agent-core-target-doc
cancel-in-progress: true
jobs:
consolidate:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout branch
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: agent/consolidate-agent-core-target-doc
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Consolidate documentation
run: |
python tools/scripts/consolidate_agent_core_target_docs.py
git diff --check -- '*.py' '*.yaml' '*.yml'
- name: Run focused validation
run: |
python -m py_compile \
tools/scripts/verify_agent_core_target_protocols.py \
tests/repo/test_agent_core_target_protocols.py \
.agent/scripts/verify_agent_system.py
python tools/scripts/verify_agent_core_target_protocols.py
python .agent/scripts/verify_agent_system.py
- name: Commit consolidated documentation
run: |
rm tools/scripts/consolidate_agent_core_target_docs.py
rm .github/workflows/consolidate-agent-core-target-doc.yml
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m "docs: consolidate Agent Core target architecture"
git push origin HEAD:agent/consolidate-agent-core-target-doc