31 lines
1.5 KiB
TOML
31 lines
1.5 KiB
TOML
# gitea-review-bot — deployment config (EXAMPLE). Copy to config.toml (gitignored) and fill in.
|
|
# Credentials live in the gitignored .env, NOT here.
|
|
|
|
[homeserver]
|
|
url = "https://<your-synapse-host>"
|
|
user = "@reviewer:<your-domain>" # the bot's OWN Matrix account (not matrix-bridge's @agent)
|
|
|
|
# How the bot reaches the Mac (reuses matrix-bridge's Spark→Mac seam + wrappers).
|
|
[mac]
|
|
ssh_alias = "mac-bridge"
|
|
# The review runs `claude -p` in the repo — matrix-bridge's ask-claude.sh does exactly that.
|
|
review_launcher = "/Users/macpro/Projects/matrix-bridge/scripts/ask-claude.sh"
|
|
# Post-merge publish (per-repo, opt-in) — matrix-bridge's deploy-site.sh (ff-pull master + deploy).
|
|
deploy_launcher = "/Users/macpro/Projects/matrix-bridge/scripts/deploy-site.sh"
|
|
hostname = "10.59.211.5" # the Mac over WireGuard (container generates ~/.ssh/config)
|
|
user = "macpro"
|
|
|
|
[gitea]
|
|
api_base = "https://<gitea-host-or-IP>:<port>/api/v1" # use the LAN IP if only a .local name exists
|
|
# (a slim container can't resolve mDNS .local)
|
|
owner = "grant" # repos are <owner>/<roomname>
|
|
verify_tls = false # StartOS Gitea serves a self-signed cert on the LAN
|
|
|
|
[defaults]
|
|
poll_interval_seconds = 60
|
|
review_timeout_seconds = 600 # a `claude -p` review (with subagents) can take minutes
|
|
|
|
# Optional per-repo overrides (auto-deploy is OFF unless set here). Keyed by repo/room name.
|
|
# [repo.ten31-site]
|
|
# deploy_on_merge = true
|