-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconsolidate-agent-core-target-doc.yml
More file actions
55 lines (46 loc) · 1.65 KB
/
Copy pathconsolidate-agent-core-target-doc.yml
File metadata and controls
55 lines (46 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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