惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

小众软件
小众软件
T
The Blog of Author Tim Ferriss
Apple Machine Learning Research
Apple Machine Learning Research
B
Blog
L
LangChain Blog
博客园_首页
Vercel News
Vercel News
月光博客
月光博客
B
Blog RSS Feed
S
SegmentFault 最新的问题
博客园 - Franky
C
Check Point Blog
A
About on SuperTechFans
Stack Overflow Blog
Stack Overflow Blog
J
Java Code Geeks
F
Fortinet All Blogs
Recent Announcements
Recent Announcements
Y
Y Combinator Blog
罗磊的独立博客
D
Docker
酷 壳 – CoolShell
酷 壳 – CoolShell
云风的 BLOG
云风的 BLOG
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
ci: skip stale docs sync publishes · openclaw/openclaw@6f...
steipete · 2026-04-25 · via Recent Commits to openclaw:main

@@ -63,18 +63,43 @@ jobs:

6363

working-directory: publish

6464

run: |

6565

set -euo pipefail

66+

remote_source_sha() {

67+

git show refs/remotes/origin/main:.openclaw-sync/source.json 2>/dev/null \

68+

| node -e 'const fs = require("node:fs"); try { const data = JSON.parse(fs.readFileSync(0, "utf8")); if (data.sha) process.stdout.write(data.sha); } catch {}' \

69+

|| true

70+

}

71+72+

skip_stale_source() {

73+

current_source_sha="$(remote_source_sha)"

74+

if [ -z "$current_source_sha" ] || [ "$current_source_sha" = "$GITHUB_SHA" ]; then

75+

return

76+

fi

77+78+

if git -C "$GITHUB_WORKSPACE" merge-base --is-ancestor "$GITHUB_SHA" "$current_source_sha"; then

79+

echo "Skipping stale publish sync for $GITHUB_SHA; origin/main already mirrors $current_source_sha."

80+

exit 0

81+

fi

82+

}

83+6684

if git diff --quiet -- docs .openclaw-sync; then

6785

echo "No publish-repo changes."

6886

exit 0

6987

fi

708889+

if git fetch origin main:refs/remotes/origin/main; then

90+

skip_stale_source

91+

fi

92+7193

git config user.name "openclaw-docs-sync[bot]"

7294

git config user.email "openclaw-docs-sync[bot]@users.noreply.github.com"

7395

git add docs .openclaw-sync

7496

git commit -m "chore(sync): mirror docs from $GITHUB_REPOSITORY@$GITHUB_SHA"

7597

for attempt in 1 2 3 4 5; do

76-

if git fetch origin main && git rebase origin/main && git push origin HEAD:main; then

77-

exit 0

98+

if git fetch origin main:refs/remotes/origin/main; then

99+

skip_stale_source

100+

if git rebase origin/main && git push origin HEAD:main; then

101+

exit 0

102+

fi

78103

fi

79104

git rebase --abort >/dev/null 2>&1 || true

80105

echo "Publish sync attempt ${attempt} failed; retrying."