[codex] Add OpenHands PR review bot#259
Conversation
de384a8 to
e22c5b9
Compare
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
PR Summary by QodoAdd OpenHands PR review workflow and ordvec review guide Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1.
|
|
Codex (@codex) review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary
OpenHands/extensions/plugins/pr-reviewand the plugin'sextensions-versionto the same OpenHands/extensions commitreview-thislabel for explicit maintainer-triggered reviewTrigger Model
This is the GitHub Actions based OpenHands reviewer. It runs the OpenHands agent in Actions with
LLM_API_KEYand posts PR review comments throughGITHUB_TOKEN.The workflow is label-only for security:
pull_request_target: labeledreview-thisThis keeps the
pull_request_target+ secret path behind explicit maintainer intent. To request a review, apply thereview-thislabel.Token Scope
The job grants only:
contents: readpull-requests: writeissues: writewas intentionally omitted; the pinned plugin path uses PR review APIs for review submission.Setup
The repo secret is present:
LLM_API_KEYModel selection is controlled by repository variables:
OPENHANDS_LLM_MODELis currently set tolitellm_proxy/minimax-m2.7; if unset, the workflow falls back toanthropic/claude-sonnet-4-5-20250929.OPENHANDS_LLM_BASE_URLis optional and should point at the LiteLLM proxy/custom provider endpoint when the selected model requires one.Verification
actionlint -color .github/workflows/openhands-pr-review.ymlactionlint -colorzizmor --offline --persona=regular .github/workflows/openhands-pr-review.ymlzizmor --offline --persona=regular .github/workflows/bash tests/release_publish_invariants.shpython3 tests/release_publish_invariants.pygit diff --check