guanghulab/.github/archived-workflows/grid-db-training-extract.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

30 lines
730 B
YAML

name: 🧬 训练数据提取
on:
schedule:
- cron: '0 3 * * 0'
workflow_dispatch:
permissions:
contents: write
jobs:
extract:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 🧬 从交互记录提取训练样本
run: node scripts/grid-db/extract-training-samples.js
- name: 📊 更新 catalog
run: node scripts/grid-db/update-training-catalog.js
- name: 💾 提交
run: |
git config user.name "zhuyuan-bot"
git config user.email "zhuyuan@guanghulab.com"
git add grid-db/training-lake/
git diff --cached --quiet || git commit -m "training: 周度训练样本提取 [skip ci]"
git push