ci: format

This commit is contained in:
Barrett Ruth 2026-03-05 13:32:28 -05:00
parent e30ca4eb16
commit 9db185f4d4
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
13 changed files with 2252 additions and 52 deletions

View file

@ -9,10 +9,6 @@ if printf '%s' "$CMD" | grep -qE '\bgh\b.*\s(-R|--repo)\b'; then
exit 2
fi
if printf '%s' "$CMD" | grep -qE '\bgh\s+issue\s+create\b'; then
echo "Blocked: gh issue create must be run manually or explicitly approved." >&2
exit 2
fi
if printf '%s' "$CMD" | grep -qE '\bgit\s+push\b'; then
BRANCH=$(git branch --show-current 2>/dev/null || true)

View file

@ -34,9 +34,11 @@ Create a pull request from the current branch.
3. Present the title and body. Ask for approval.
4. After approval, if `scripts/ci.sh` exists, run it:
```
bash scripts/ci.sh
```
If it fails, show the output and stop. Do NOT create the PR.
5. Run exactly one Bash command:

View file

@ -13,9 +13,11 @@ Create a pull request immediately, no approval step.
If the branch is `main` or `master`, tell the user and stop.
2. If `scripts/ci.sh` exists, run it:
```
bash scripts/ci.sh
```
If it fails, show the output and stop.
3. Draft the PR (do NOT present for approval — create it immediately):
@ -35,12 +37,14 @@ Create a pull request immediately, no approval step.
- Use backticks around code identifiers, function names, and file paths.
Run exactly one Bash command:
```
gh pr create --title "<title>" --body "$(cat <<'EOF'
<body here>
EOF
)"
```
Print the PR URL from the output.
Total: 2-3 Bash calls. Do not run any other commands.