docs: update clawsweeper automerge workflow · openclaw/openclaw@10a9654
steipete
·
2026-04-30
·
via Recent Commits to openclaw:main
File tree
.agents/skills/clawsweeper
| Original file line number | Diff line number | Diff line change |
|---|
@@ -261,6 +261,20 @@ If ClawSweeper passes while merge gates are closed, it labels
|
261 | 261 | `clawsweeper:merge-ready` and comments instead of merging. `@clawsweeper stop` |
262 | 262 | adds `clawsweeper:human-review`. |
263 | 263 | |
| 264 | +When Peter asks Codex to create a PR and enable ClawSweeper automerge, do not |
| 265 | +leave his local OpenClaw checkout on the PR branch. After the PR is created, |
| 266 | +pushed, and the `@clawsweeper automerge` request is posted or otherwise |
| 267 | +confirmed, return the local checkout to `main` and fast-forward it when the |
| 268 | +working tree is clean: |
| 269 | + |
| 270 | +```bash |
| 271 | +git switch main |
| 272 | +git pull --ff-only |
| 273 | +``` |
| 274 | + |
| 275 | +If unrelated local edits or an in-progress rebase prevent switching, report the |
| 276 | +blocker instead of stashing, deleting, or overwriting work. |
| 277 | + |
264 | 278 | Repair caps: |
265 | 279 | |
266 | 280 | ```bash |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。