feat: add optional GitHub App webhook mode

This commit is contained in:
lezi-fun committed 2026-08-18 17:35:35 +08:00
1 parent 333bffb099
commit e690b530c8
11 files changed
+1077 -7

No files matched your search

+13 -1
View File
@@ -6,6 +6,19 @@ GH_APP_ID=
GH_APP_PRIVATE_KEY=
GH_APP_INSTALLATION_ID=
# Optional GitHub App webhook chat mode. Action mode remains the default and
# does not require these values. Set WEBHOOK_ENABLED=true only for a separate
# long-running Node/Docker webhook service.
WEBHOOK_ENABLED=false
WEBHOOK_SECRET=
WEBHOOK_PATH=/webhooks/github
# anyone | read | write. "read" permits repository collaborators with read access.
WEBHOOK_CHAT_PERMISSION=read
WEBHOOK_QUEUE_CONCURRENCY=2
WEBHOOK_QUEUE_LIMIT=500
# GitHub App login or slug used in @mentions, e.g. forumlify[bot].
BOT_NAME=ghbot
# goose uses this OpenAI-compatible Chat Completions endpoint.
GOOSE_API_KEY=sk-...
GOOSE_BASE_URL=https://api.openai.com/v1
@@ -39,7 +52,6 @@ TRIAGE_DUPLICATE_LABEL=duplicate
TRIAGE_CANDIDATE_LIMIT=50
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.