674 B
674 B
name, description, version, trigger
| name | description | version | trigger | ||
|---|---|---|---|---|---|
| Phase Commit and Push | Commit, push, and verify CI after completing a phase task | 2.0 |
|
When triggered manually after completing a phase:
- Run
git add -A - Ask the user for a commit message, suggesting format:
phase N: short description - Run
git commit -m "{message}" - Run
git push origin main - Report the commit SHA and confirm push succeeded
- Wait 30 seconds, then check CI status with
nix-shell -p gh --run "gh run list -L 1" - If CI is still running, report that and suggest checking back later
- If CI failed, run
nix-shell -p gh --run "gh run view --log-failed"and report the error