Commit graph

5 commits

Author SHA1 Message Date
wangzhuc
ae37aa49e1 fix(ci): use full clone to prevent history loss on amend + force push
actions/checkout@v4 defaults to depth=1. When the CI amends the
triggering commit and force-pushes, the shallow history replaces
the full history on the remote — wiping all prior commits.

Fix: set fetch-depth: 0 for full clone.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 00:00:40 +08:00
wangzhuc
a92f96a320 ci: amend openclaw build into trigger commit instead of separate commit
Avoids extra bot commits that cause push rejections. Uses --amend
and --force-with-lease so dist/openclaw changes fold into the
original commit cleanly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 14:06:21 +08:00
wangzhuc
350fec3c49 chore: add workflow_dispatch trigger to build-openclaw CI
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 15:01:48 +08:00
wangzhuc
639a6e78bb fix: grant write permission to build-openclaw CI workflow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 15:00:26 +08:00
wangzhuc
e1a0d6ef47 新增 OpenClaw 兼容:build 脚本 + CI + 首次产物
- scripts/build_openclaw.py:SKILL.md 转换({skill_dir}→{baseDir}、WebSearch→web_search、移除 allowed-tools)
- .github/workflows/build-openclaw.yml:push to main 时自动构建 dist/openclaw/
- dist/openclaw/:首次构建产物入库,OpenClaw 用户可直接使用

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 13:00:07 +08:00