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

44 lines
1.2 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.

# 光湖系统 · README 自动重新生成工作流(副控增强版)
# 任何推送到 main 分支后自动重新生成 README Dashboard
# 含铸渊指令签发区(区块五)
#
# 触发条件: push to main (排除 README.md 自身避免循环)
name: 📄 README 自动生成
on:
push:
branches: [main]
paths-ignore:
- 'README.md'
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 50
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: 生成 README Dashboard副控增强版
env:
DEV_ID: ${{ vars.DEV_ID }}
DEV_NAME: ${{ vars.DEV_NAME }}
DEV_ROLE: ${{ vars.DEV_ROLE }}
PERSONA_NAME: ${{ vars.PERSONA_NAME }}
PERSONA_ID: ${{ vars.PERSONA_ID }}
run: node scripts/generate-readme.js
- name: 提交(仅 README 有变化时)
run: |
git config user.name "铸渊 (ZhùYuān)"
git config user.email "zhuyuan@guanghulab.com"
git add README.md
git diff --cached --quiet || git commit -m "📄 README Dashboard 自动更新 · $(date +%Y-%m-%d-%H%M)"
git push