sending-pull-request
Send a pull request
When asked only to write or review a PR/MR title or body, inspect the supplied context, read BODY.md, and return the copy without changing the repository or forge. If evidence is requested, read MEDIA.md for formatting guidance, use supplied evidence only, and mark unverified evidence as pending. Do not run capture or publishing workflows for a copy-only request.
To send work for review:
-
Fetch
origin, resolve the current and default branches, and inspect commits and working-tree changes againstorigin/<default>. Stop if there is no work to send. -
Put the work on a conventional
<type>/<short-kebab-description>branch without stashing or changing it:-
Keep a conventional non-default branch.
-
On the default branch, choose the name from the work using its Conventional Commit type, then preserve every commit and working-tree change before resetting the local default branch:
git switch --no-track -c <new-branch> git branch -f <default> origin/<default>
-