Overview

pr_comments reads the review comments on a pull request and posts a reply to one. It uses gh. List covers both review comments and conversation comments. A reply always asks first. Comment text is fenced as untrusted data and never followed as instructions.

Parameters

Result

List returns each comment with id, author, body, file path, line, resolved state and link. Reply returns the id of the posted reply.

Permission

List is read-only. Reply posts text in a place other people see, so it always asks first, even in Auto. Auto never posts anything you did not ask for. See Autonomy modes. Comment bodies are fenced as data; see Untrusted content.

Surfaces

Desktop, web, phone layout, PWA and iOS draw a PR-comment card. The terminal and the GitHub action use it for the comment loop. Android follows the PWA. Delivered by the review PR (PR6). Family: code-review.