stay-foolish-forever/OpenCodeReview PR Review

AI-powered GitHub PR review with inline comments, sticky summary, and incremental non-destructive posting.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
llm_urlLLM API endpoint URL (mapped to env OCR_LLM_URL).yes
llm_auth_tokenLLM auth token (mapped to env OCR_LLM_TOKEN).yes
llm_modelModel name (mapped to env OCR_LLM_MODEL).yes
llm_use_anthropic'true' for Anthropic Claude, 'false' for OpenAI-compatible APIs (mapped to env OCR_USE_ANTHROPIC). Required to force an explicit choice.yes
llm_auth_headerCustom auth header name (mapped to env OCR_LLM_AUTH_HEADER).no
llm_extra_headersExtra headers "K=V,K=V" (mapped to env OCR_LLM_EXTRA_HEADERS).no
llm_extra_bodyextra_body JSON for LLM requests. No env var exists for this, so it is written via `ocr config set llm.extra_body`.no{"thinking": {"type": "disabled"}}
llm_timeoutLLM request timeout in seconds (mapped to env OCR_LLM_TIMEOUT).no
github_tokenGitHub token used to post review comments.no${{ github.token }}
ocr_versionnpm version spec for @alibaba-group/open-code-review.nolatest
review_concurrencyValue passed to `ocr review --concurrency`.no
backgroundValue passed to `ocr review --background`.no
rulePath to a custom rules JSON file passed to `ocr review --rule`.no
upload_artifactsUpload raw JSON result and stderr as workflow artifacts. Must be the literal string 'true' or 'false' (quoted); the step gates on a string comparison, so an unquoted YAML boolean will not match.notrue
sticky_summarySummary dimension. true = update an existing summary comment in place (sticky) instead of posting a new one each run.notrue
incrementalIncremental dimension. true = only append inline comments whose (path, line range) does not overlap an existing bot review comment. History is never deleted (non-destructive).nofalse
incremental_overlap_thresholdIoU (intersection-over-union) threshold used by incremental mode to decide whether a new multi-line comment overlaps an existing one. Two single-line comments match when on the same line; single- vs multi-line never match. Value in (0, 1]; ignored unless incremental is true.no0.6
base_refOverride the base ref. Provide this (and head_sha) when invoking from a non-PR event such as issue_comment.no
head_shaOverride the head commit SHA (use with base_ref for comment triggers).no
node_versionNode.js version for actions/setup-node.no24
namedescription
comments_totalTotal number of review comments generated by OCR.
comments_inlineNumber of inline comments successfully posted.
comments_skippedNumber of inline comments skipped by incremental mode (overlap with history).
comments_failedNumber of inline comments that failed to post.
summary_comment_urlURL of the posted/updated summary comment, if any.