修正示例 yaml:telegram 改用 recipe canonical_id;gmail 讀取留 TODO(issue #13 步驟1)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
uncle6me-web
2026-06-28 15:45:50 +08:00
parent f21906ca6a
commit a234201235
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ config:
格式:markdown bullets,每條 < 30 字,標明來源。 格式:markdown bullets,每條 < 30 字,標明來源。
push_digest: push_digest:
component: telegram component: telegram_send
chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}" chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}"
text: | text: |
☀️ 早安 {{_today}} ☀️ 早安 {{_today}}
@@ -12,6 +12,7 @@ config:
cron_expr: "0 8 * * *" # 每天 08:00 UTC(依需求調時區) cron_expr: "0 8 * * *" # 每天 08:00 UTC(依需求調時區)
fetch_unread: fetch_unread:
# TODO(#13): gmail 讀取尚無對應 recipe,待 seed 補 gmail_list 後再映射;gmail_send 是送信端點,不可用於 action:list
component: gmail component: gmail
action: "list" action: "list"
query: "is:unread newer_than:1d" query: "is:unread newer_than:1d"
@@ -35,7 +36,7 @@ config:
{{fetch_unread.messages}} {{fetch_unread.messages}}
push_to_telegram: push_to_telegram:
component: telegram component: telegram_send
chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}" chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}"
text: | text: |
📬 今日 email 摘要 📬 今日 email 摘要
+1 -1
View File
@@ -35,7 +35,7 @@ config:
# 純記錄成功,下游若需要可繼續鏈 # 純記錄成功,下游若需要可繼續鏈
final_fail_notify: final_fail_notify:
component: telegram component: telegram_send
chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}" chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}"
text: | text: |
⚠️ workflow {{input.workflow_name}} 兩次重試都失敗 ⚠️ workflow {{input.workflow_name}} 兩次重試都失敗