Add configurable review modes and conflict recovery

This commit is contained in:
lezi-fun committed 2026-08-13 21:54:50 +08:00
1 parent 8c4e866765
commit f9c632e6ab
21 files changed
+1035 -230

No files matched your search

+11 -2
View File
@@ -12,12 +12,18 @@ GOOSE_BASE_URL=https://api.openai.com/v1
GOOSE_MODEL=gpt-5.4
GOOSE_THINKING_EFFORT=high
# allow | require_approval | reject
REVIEW_POLICY=require_approval
# allow | require_approval | reject. Ordinary review notes pass by default.
REVIEW_POLICY=allow
# normal | strict. Only strict enables the thorough review prompt.
REVIEW_STRICTNESS=normal
# Optional repository-specific review rules.
REVIEW_INSTRUCTIONS=
# Comma-separated PR base-branch globs. Empty means all base branches.
REVIEW_BRANCHES=
# Persist repository knowledge in GitHub Actions cache. Authorized @bot agents
# can improve it only when write is explicitly enabled.
REPOSITORY_KNOWLEDGE_ENABLED=true
REPOSITORY_KNOWLEDGE_WRITE=false
TRIAGE_ENABLED=true
TRIAGE_LABELS=bug,enhancement,documentation,question,maintenance
@@ -27,6 +33,9 @@ TRIAGE_INSTRUCTIONS=
BOT_NAME=github-actions[bot]
AUTO_MERGE=false
AUTO_RESOLVE_CONFLICTS=false
# Optional trusted shell command run after AI conflict resolution and before push.
CONFLICT_TEST_COMMAND=
MERGE_METHOD=squash
REQUIRE_CHECKS=true
MAX_PATCH_CHARS=120000