Post findings to GitHub as review comments.
An explicit action, never automatic: posts one GitHub review (COMMENT, never an approval or a request for changes) on headSha, with a comment on the line for each finding that names one and the rest in the review's body.
POST/api/v1/pull-requests/{id}/findings/post
Scopeapprove
Only findings written at headSha (409 stale_findings otherwise). Findings already posted are not sent again. Uses the server's own GitHub access; no agent holds it. Records who posted. The timeline records the key ID, action and outcome.
Path parameters.
idstringrequired
The pull request's id.
Headers.
Idempotency-Keystring
Retry the same request with the same key. Retry rules.
Body.
headShastringrequired
The head commit the findings are posted on; refused when the pull request has moved since. Matches ^[0-9a-f]{40}$.
findingIdsarray
The findings to post. Default: every finding at headSha not posted yet. 1 to 50 items.
bodystring
Text for the review's own body. At most 4000 characters.
Response.
200 OK · JSON object
- 422 validation_failed
- Each schema error appears in
details.