🧊 冰朔人格体:修复部署阻塞 · 移除坏 submodule + 竞态条件修复 + rsync 保障

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-07 09:54:24 +00:00
parent 8753848771
commit 90883a87ab
5 changed files with 25 additions and 3 deletions

View File

@ -89,6 +89,13 @@ jobs:
- name: 📥 检出代码
uses: actions/checkout@v4
- name: 📦 确保 rsync 已安装
run: |
if ! command -v rsync &>/dev/null; then
sudo apt-get update -qq && sudo apt-get install -y rsync
fi
rsync --version | head -1
- name: 🔑 配置 SSH 连接
run: |
mkdir -p ~/.ssh

View File

@ -49,7 +49,12 @@ jobs:
echo "📋 文档无变化,跳过提交"
else
git commit -m "📋 自动更新 HoloLake Era 模块文档 · $(date -u +%Y-%m-%d\ %H:%M\ UTC)"
git push
git pull --rebase origin main || true
git push || {
echo "⚠️ 推送失败,尝试重新拉取后再推送..."
git pull --rebase origin main
git push
}
fi
notify-collaborator:

View File

@ -34,4 +34,10 @@ jobs:
git config user.email "zhuyuan@guanghulab.com"
git add .github/brain/repo-map.json .github/brain/repo-snapshot.md
git diff --cached --quiet || git commit -m "📚 铸渊图书馆目录更新 · $(date +%Y-%m-%dT%H:%M)"
git push
# 拉取远端最新更改后再推送,避免竞态条件
git pull --rebase origin main || true
git push || {
echo "⚠️ 推送失败,尝试重新拉取后再推送..."
git pull --rebase origin main
git push
}

@ -1 +0,0 @@
Subproject commit 4c5dc4e8be2bcba1acee37c1bf93e18372ae4795

View File

@ -0,0 +1,5 @@
# M18 系统健康检查
- 负责人:待分配
- 状态:规划中
- 技术栈:待定
- 依赖模块:无