Migrate review automation to OpenCode
This commit is contained in:
1 parent
27db22cd78
commit
8aaecb4dc7
21 files changed
+2703
-713
No files matched your search
+20
-6
@@ -1,16 +1,30 @@
|
||||
PORT=3000
|
||||
# Optional in GitHub Actions because github.token is injected automatically.
|
||||
# Still useful for local simulation.
|
||||
# Still useful for local simulation and as a GitHub App fallback.
|
||||
GITHUB_TOKEN=ghp_your_token_here
|
||||
GH_APP_ID=
|
||||
GH_APP_PRIVATE_KEY=
|
||||
GH_APP_INSTALLATION_ID=
|
||||
CODEX_API_KEY=sk-...
|
||||
CODEX_BASE_URL=https://api.openai.com/v1
|
||||
CODEX_MODEL=gpt-5.4
|
||||
CODEX_REASONING_EFFORT=high
|
||||
|
||||
# Optional controls
|
||||
# OpenCode uses this OpenAI-compatible Chat Completions endpoint.
|
||||
OPENCODE_API_KEY=sk-...
|
||||
OPENCODE_BASE_URL=https://api.openai.com/v1
|
||||
OPENCODE_MODEL=gpt-5.4
|
||||
OPENCODE_REASONING_EFFORT=high
|
||||
|
||||
# allow | require_approval | reject
|
||||
REVIEW_POLICY=require_approval
|
||||
# Optional repository-specific review rules.
|
||||
REVIEW_INSTRUCTIONS=
|
||||
# Comma-separated PR base-branch globs. Empty means all base branches.
|
||||
REVIEW_BRANCHES=
|
||||
|
||||
TRIAGE_ENABLED=true
|
||||
TRIAGE_LABELS=bug,enhancement,documentation,question,maintenance
|
||||
TRIAGE_DUPLICATE_LABEL=duplicate
|
||||
TRIAGE_CANDIDATE_LIMIT=50
|
||||
TRIAGE_INSTRUCTIONS=
|
||||
|
||||
BOT_NAME=github-actions[bot]
|
||||
AUTO_MERGE=false
|
||||
MERGE_METHOD=squash
|
||||
|
||||
Reference in new issue
Block a user