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: on:
push: push:
branches:
- main
pull_request: pull_request:
jobs: jobs:

View File

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