Loading...
Loading...
Posts review findings from a JSON file as inline comments on a GitHub Pull Request, attaching each comment to its file and line. Use when you have a list/JSON of review findings (each with a file path, line number, and a message such as summary/failure_scenario) and want them published on a PR as inline review comments. Triggers include "post these review comments on the PR", "associate comments to files in the PR", "publish review findings to PR
npx skill4agent add giuseppe-trisciuoglio/developer-kit pr-review-commentsghghgh auth statusgh repo view--repo OWNER/REPOfilelinesummaryfailure_scenariobodylineside: "LEFT"gh repo viewscripts/post_pr_comments.py --pr <N> --json <path> --dry-run# Grouped (default): one PR review bundling all comments
scripts/post_pr_comments.py --pr <N> --json <path> --event COMMENT
# Individual: one separate inline comment per finding
scripts/post_pr_comments.py --pr <N> --json <path> --mode individual| Mode | Endpoint | Use when |
|---|---|---|
| | Publishing a set of findings as one review. One notification; can set |
| | Adding standalone comments incrementally, or when each finding should be its own thread/notification. |
grouped--event COMMENT--pr N PR number (required)
--json PATH JSON array of findings (required)
--repo OWNER/REPO Override auto-detected repo
--mode grouped|individual Default: grouped
--event COMMENT|APPROVE|REQUEST_CHANGES Grouped-mode verdict (default COMMENT)
--review-body TEXT Top-level summary body for the grouped review
--commit SHA Commit to anchor to (default: PR head SHA)
--dry-run Validate and print payloads without postingstart_linestart_sideline--dry-rungh api