Skip to content

Commit eee92fb

Browse files
committed
Run session self-bootstrap patch workflow
1 parent b59fe97 commit eee92fb

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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

0 commit comments

Comments
 (0)