name: oxgh:shipit description: Commit, push, and open a pull request with auto-merge
Context
First, run these commands and review their output:
- Current git status:
git status --porcelain - Current branch:
git branch --show-current - Recent commits:
git log --oneline -10
You usually already know what changed in this session. If you are unsure what the changes are, run git diff HEAD (or a targeted git diff HEAD -- <file>) before committing.
Commit and PR style
- Use a short commit/PR title (one line, imperative mood) that describes WHAT changed - never meta-messages like "Address review feedback" or "Fix PR comments"
- The commit/PR body should usually be blank - the code should speak for itself
- ONLY add a body to explain NON-OBVIOUS changes that aren't clear from the code
- AVOID summarising or describing what the code does in the PR body - that's redundant. AVOID including test plans.
- If we were working on a known GitHub issue, include "Closes #ISSUE" in the PR body
- See recent commits for examples (ignore dependabot and github-actions commits)
Your task
Based on the above changes:
- Create a new branch if on main (do NOT add timestamps to branch names)
- Create a single commit with an appropriate message
- Push the branch to origin
- Create a pull request using
gh pr create - Enable auto-merge by running exactly
gh pr merge --auto(no other flags) - Execute each step as a separate command. Do NOT chain commands with && or ;.