auto: sync OpenClaw config 2026-07-14 20:50

This commit is contained in:
2026-07-14 20:50:09 +08:00
parent 27dd76586e
commit 65e368d83c
+3 -1
View File
@@ -6,7 +6,9 @@ REPO_DIR="/home/yangxuan/.openclaw"
cd "$REPO_DIR" || exit 1
# 检查是否有变更
if [ -z "$(git status --porcelain 2>/dev/null)" ]; then
# 检查是否有文件变更(忽略子模块 workspace)
CHANGES=$(git status --porcelain 2>/dev/null | grep -v '^[? ]* workspace' | head -1)
if [ -z "$CHANGES" ]; then
# 无变更,静默退出
exit 0
fi