capabilities.work

Comment on a line in a pull request diff

One step with GitHub. We can help you get access.

Get something done

Comment on a line in a pull request diff

with GitHub · Software Construction Management

Use GitHub: its GitHub v3 REST Pulls API lets you comment on a line in a pull request diff in a single step (POST /repos/{owner}/{repo}/pulls/{pull_number}/comments). capabilities.work can help you get signed up and connected.

  • How do I leave a comment on a specific line of code in a pull request?
  • Can I comment on a range of lines, or on a whole file, in a PR diff?
Say it to your AI assistant
  • Comment {body} on line {line} of {path} in PR #{pull_number} of {owner}/{repo} at commit {commit_id}.
  • Add a diff comment {body} on lines {start_line} to {line} of {path} in PR {pull_number}, {owner}/{repo}, commit {commit_id}.
For your developer

POST /repos/{owner}/{repo}/pulls/{pull_number}/comments in GitHub v3 REST Pulls API. Full spec on APIs.io.