guanghulab/.github/archived-workflows/zhuyuan-daily-inspection.yml
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.6 KiB
YAML

# ═══════════════════════════════════════════════
# 🔺 Sovereign: TCS-0002∞ | Root: SYS-GLW-0001
# 📜 Copyright: 国作登字-2026-A-00037559
# ═══════════════════════════════════════════════
name: 铸渊每日巡检
on:
schedule:
- cron: '0 4 * * *' # UTC 04:00 = 北京 12:00
workflow_dispatch:
permissions:
contents: write
actions: read
issues: write
jobs:
inspection:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 铸渊核心大脑唤醒
run: node scripts/zhuyuan-wakeup.js
- name: 读取签到报告
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: node scripts/zhuyuan-inspection.js
- name: 推送工单到Notion
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NOTION_TOKEN_BINGSUO: ${{ secrets.ZY_NOTION_TOKEN }}
NOTION_TOKEN_ZHIZHI: ${{ secrets.ZY_NOTION_TOKEN }}
WORKORDER_DB_BINGSUO: ${{ secrets.ZY_NOTION_WORKORDER_DB }}
WORKORDER_DB_ZHIZHI: ${{ secrets.ZY_NOTION_WORKORDER_DB }}
run: node scripts/push-inspection-report.js
- name: 提交巡检记录
run: |
git config user.name "铸渊"
git config user.email "zhuyuan@guanghulab.com"
git add .github/persona-brain/
git commit -m "[ZY-INSPECT] 每日巡检完成 $(date +'%Y-%m-%d %H:%M')" || echo "无变更"
git push