repopilot_publish_review_comment
Publish an evidence-backed review summary and zero to 20 findings to a GitHub pull request for a fixed head SHA, without approving, changing code, or merging. Keeps audit integrity by rejecting if the head changed.
Instructions
Create or update one managed GitHub review summary comment for the exact pull request head SHA bound to an active read-only review run. Call after reading all relevant diff pages and checks, while the Reviewer Step is running. This publishes findings but never approves, requests changes, modifies code, or merges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Active pull-request review run UUID. | |
| headSha | Yes | Exact 40-character commit SHA reviewed; publication is rejected if the pull request head changed. | |
| summary | Yes | Short evidence-backed review conclusion for the exact head SHA. | |
| verdict | Yes | Overall result: pass, needs_attention, or blocked; this is not a GitHub approval decision. | |
| findings | Yes | Zero to 20 actionable findings; use an empty array when no defect is found. | |
| pullNumber | Yes | Pull request number bound to the review run. | |
| repository | Yes | Allowed GitHub repository in owner/name format. |