[PR #2] [MERGED] ci: add OpenCodeReview workflow #113

Closed
opened 2026-10-29 14:19:52 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kvcache-ai/AgentENV/pull/2
Author: @yingdi-shan
Created: 7/26/2026
Status: ✅ Merged
Merged: 7/26/2026
Merged by: @yingdi-shan

Base: main ← Head: ci/open-code-review-action


📝 Commits (1)

  • 401f34a ci: add OpenCodeReview workflow

📊 Changes

1 file changed (+34 additions, -0 deletions)

View changed files

➕ .github/workflows/open-code-review.yml (+34 -0)

📄 Description

Summary

  • add automated OpenCodeReview reviews for non-draft pull requests
  • use ubuntu-latest and track alibaba/open-code-review@main, including its default latest CLI
  • cancel stale reviews when a pull request is updated
  • grant only read access to contents and write access to pull-request reviews

Configuration

Define these repository Actions secrets after merge:

  • OCR_LLM_URL: LLM API endpoint
  • OCR_LLM_AUTH_TOKEN: LLM API key
  • OCR_LLM_MODEL: model name

The optional OCR_LLM_USE_ANTHROPIC repository variable selects the Anthropic protocol; it defaults to false for OpenAI-compatible endpoints.

Security

The workflow uses pull_request_target for fork pull requests. Tracking alibaba/open-code-review@main intentionally follows upstream changes without pinning.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kvcache-ai/AgentENV/pull/2 **Author:** [@yingdi-shan](https://github.com/yingdi-shan) **Created:** 7/26/2026 **Status:** ✅ Merged **Merged:** 7/26/2026 **Merged by:** [@yingdi-shan](https://github.com/yingdi-shan) **Base:** `main` ← **Head:** `ci/open-code-review-action` --- ### 📝 Commits (1) - [`401f34a`](https://github.com/kvcache-ai/AgentENV/commit/401f34aa8e087050d6a19613cfe698d368a876ca) ci: add OpenCodeReview workflow ### 📊 Changes **1 file changed** (+34 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/open-code-review.yml` (+34 -0) </details> ### 📄 Description ## Summary - add automated OpenCodeReview reviews for non-draft pull requests - use `ubuntu-latest` and track `alibaba/open-code-review@main`, including its default latest CLI - cancel stale reviews when a pull request is updated - grant only read access to contents and write access to pull-request reviews ## Configuration Define these repository Actions secrets after merge: - `OCR_LLM_URL`: LLM API endpoint - `OCR_LLM_AUTH_TOKEN`: LLM API key - `OCR_LLM_MODEL`: model name The optional `OCR_LLM_USE_ANTHROPIC` repository variable selects the Anthropic protocol; it defaults to `false` for OpenAI-compatible endpoints. ## Security The workflow uses `pull_request_target` for fork pull requests. Tracking `alibaba/open-code-review@main` intentionally follows upstream changes without pinning. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 14:19:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/AgentENV#113
No description provided.