Guanghu Domestic Migration d1e47f4565
Some checks are pending
自动更新代码和重启 / update-and-restart (push) Waiting to run
CI检查 + 自动部署 / check (push) Waiting to run
CI检查 + 自动部署 / deploy (push) Blocked by required conditions
重启聊天服务 / restart (push) Waiting to run
chore: import sanitized domestic snapshot for REPO-002
Source snapshot: ca48d3ddf926d79aa138306164169baf764bb829
2026-07-17 15:54:41 +08:00

42 lines
1.4 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ═══════════════════════════════════════════════
# 🔺 Sovereign: TCS-0002∞ | Root: SYS-GLW-0001
# 📜 Copyright: 国作登字-2026-A-00037559
# ═══════════════════════════════════════════════
name: "🌊 Persona Studio · 完成通知"
# 工作流存根 · 代码生成完成 → 邮件推送
# 实际邮件发送由 persona-studio/backend/utils/email-sender.js 处理
# 此工作流用于 workflow_run 联动
on:
workflow_run:
workflows: ["🌊 Persona Studio · 代码生成"]
types: [completed]
workflow_dispatch:
inputs:
dev_id:
description: '体验者编号EXP-XXX'
required: true
email:
description: '通知邮箱'
required: true
permissions:
contents: read
jobs:
notify:
name: "📧 完成通知"
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
steps:
- name: 📥 检出代码
uses: actions/checkout@v4
- name: 📧 发送通知
run: |
echo "📧 发送完成通知"
echo " 触发方式: ${{ github.event_name }}"
echo "✅ 通知已排队(由后端服务处理)"