prbody

v0.1.0
io.github.CloudCorpRecords/prbody Checked 19 hours ago Published 29 days ago

Build 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.

ParameterTypeDescription
commits *arrayCommits of the PR, oldest first: {hash, subject}
template *stringThe repo's PR template text, with {{...}} placeholders
issue_numberintegerLinked issue number (optional)
titlestringPull request title (optional)