2026-05-10 13:12:44 +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 "✅ 通知已排队(由后端服务处理)"