chore: adjust notification example and ci triggers

This commit is contained in:
insleker 2026-04-05 16:38:20 +08:00
parent c1c6f4fba5
commit 8d802921ad
2 changed files with 13 additions and 11 deletions

View File

@ -2,6 +2,8 @@ name: unittest
on:
push:
branches:
- main
pull_request:
jobs:

View File

@ -30,17 +30,17 @@ defaults:
# - id: opencode
# command: opencode
# timeout: 10m
notifications:
# Optional Discord notifications for assistant activity.
- type: discordWebhook
enabled: true
events: ["mention_detected", "reply_posted", "responder_failed"]
webhookUrl: ${CWS_DISCORD_WEBHOOK}
username: code-work-spawner
# Optional desktop notifications for local polling runs.
- type: desktop
enabled: false
events: ["mention_detected", "responder_failed"]
# notifications:
# # Optional Discord notifications for assistant activity.
# - type: discordWebhook
# enabled: true
# events: ["mention_detected", "reply_posted", "responder_failed"]
# webhookUrl: ${CWS_DISCORD_WEBHOOK}
# username: code-work-spawner
# # Optional desktop notifications for local polling runs.
# - type: desktop
# enabled: false
# events: ["mention_detected", "responder_failed"]
projects:
code-work-spawner: