File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Run session self-bootstrap patch
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ permissions :
8+ contents : write
9+
10+ jobs :
11+ apply :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - name : Extract and apply patch
16+ run : |
17+ awk '/PATCH_B64/{flag=!flag; next} flag {print}' .github/workflows/apply-session-self-bootstrap.yml > /tmp/pgsa-session-self-bootstrap.patch.b64
18+ base64 -d /tmp/pgsa-session-self-bootstrap.patch.b64 > /tmp/pgsa-session-self-bootstrap.patch
19+ git apply /tmp/pgsa-session-self-bootstrap.patch
20+ rm -f .github/workflows/apply-session-self-bootstrap.yml .github/workflows/run-session-self-bootstrap.yml
21+ - name : Run validation
22+ run : |
23+ PYTHONPATH=tools/python python3 -m unittest discover -s tools/python/tests -t tools/python
24+ find tools/python -type d -name __pycache__ -prune -exec rm -rf {} +
25+ python3 tools/scripts/validate_release.py --root .
26+ PYTHONPATH=tools/python python3 -m pgsa_cli.main --root examples/teamtask-projectboard validate --strict-advanced
27+ python3 tools/scripts/verify_external_skill_imports.py
28+ - name : Commit and push
29+ run : |
30+ git config user.name github-actions[bot]
31+ git config user.email github-actions[bot]@users.noreply.github.com
32+ git add -A
33+ git commit -m "Document agent-owned session bootstrap"
34+ git push
You can’t perform that action at this time.
0 commit comments