prbody
v0.1.0Build a PR body from its commits, the linked issue, and the repo's PR template.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
build_pr_body
Build a pull request body by filling the repo's PR template with the PR title, a summary of its commits, the full commit list, and the closing line for its linked issue.
| Parameter | Type | Description |
|---|---|---|
commits * | array | Commits of the PR, oldest first: {hash, subject} |
template * | string | The repo's PR template text, with {{...}} placeholders |
issue_number | integer | Linked issue number (optional) |
title | string | Pull request title (optional) |