chore(workflow): add upstream preflight sync script

This commit is contained in:
zap
2026-03-04 23:28:45 +00:00
parent 49f9c0c335
commit d31bb80f04
3 changed files with 61 additions and 1 deletions

View File

@@ -139,7 +139,7 @@ Skills provide your tools. When you need one, check its `SKILL.md`. Keep local n
- Do **not** rely on editing installed dist files under `~/.npm-global/.../dist` as the long-term fix path.
- For OpenClaw code changes:
1. `cd external/openclaw-upstream`
2. `git fetch --all --prune && git checkout main && git pull --rebase`
2. `git fetch --all --prune && git checkout main && git pull --rebase` (or run `scripts/openclaw-upstream-preflight.sh`)
3. Create a focused branch (`fix/...`, `feat/...`, `chore/...`)
4. Implement in `src/` and add/adjust tests
5. Run relevant tests before commit