forked from wangyue6761/CodeReview
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.github_pat.example
More file actions
41 lines (33 loc) · 1.01 KB
/
Copy path.env.github_pat.example
File metadata and controls
41 lines (33 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# GitHub PAT webhook service (public repos)
# Copy to `.env` (do NOT commit) and fill values.
# Required (GitHub)
GITHUB_TOKEN="ghp_your_pat_here"
GITHUB_WEBHOOK_SECRET="your-webhook-secret"
ALLOWED_REPOS="owner1/repo1,owner2/repo2"
# Required (LLM)
LLM_PROVIDER="deepseek"
LLM_API_KEY="your-llm-api-key"
# Optional: override model/base URL if needed
# LLM_MODEL="deepseek-chat"
# LLM_BASE_URL="https://api.deepseek.com"
# Optional (GitHub API)
GITHUB_API_BASE_URL="https://api.github.com"
# Optional (bot behavior)
BOT_TRIGGER="@cptbot review"
MAX_CONCURRENT_JOBS="2"
COOLDOWN_SECONDS="60"
MAX_REVIEW_COMMENTS="50"
MAX_LINE_FUZZ="3"
# Optional (feature toggles)
ENABLE_REPOMAP="1"
ENABLE_LITE_CPG="1"
ENABLE_LINT="1"
# Optional (storage paths)
DB_PATH=".storage/github_pat/jobs.sqlite3"
MIRROR_ROOT=".storage/github_pat/mirrors"
WORK_ROOT=".storage/github_pat/work"
LOCK_ROOT=".storage/github_pat/locks"
# Optional (worktree cleanup)
KEEP_WORKTREE="0"
# Debug only (do NOT enable in production)
ALLOW_UNSIGNED_WEBHOOKS="0"