mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
feat(groups): per-group webhook log channel (logTarget)
Add an optional Discord channel/thread or Telegram chat/topic (Group.logTarget) that receives a summary message per webhook the group's routes dispatched: event/action, repo, delivery id and per route×target OK/FAIL lines with green/red embed color. Validated by the admin API and editable in the group editor; docs and example config updated.
This commit is contained in:
parent
b35c2c2f90
commit
0b078d938b
17 changed files with 526 additions and 35 deletions
|
|
@ -14,6 +14,16 @@ groups:
|
|||
# providers: ["github", "gitea"] # restrict to source platforms (optional; empty = all)
|
||||
# emoji: true # include emoji in messages (default true)
|
||||
# lang: "en" # message language for this group's routes (en/zh, default en)
|
||||
# Webhook log channel: a Discord channel/thread or Telegram chat/topic that
|
||||
# receives a summary of every webhook this group's routes dispatch.
|
||||
# logTarget:
|
||||
# platform: discord
|
||||
# channelId: "CHANNEL_ID_HERE"
|
||||
# threadId: "" # optional
|
||||
# logTarget:
|
||||
# platform: telegram
|
||||
# chatId: "-1001234567890"
|
||||
# topicId: "" # optional
|
||||
|
||||
routes:
|
||||
- id: all-push
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue