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>
This commit is contained in:
parent
290c3ee55b
commit
a92f96a320
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build-openclaw.yml
vendored
4
.github/workflows/build-openclaw.yml
vendored
|
|
@ -37,6 +37,6 @@ jobs:
|
|||
if git diff --cached --quiet; then
|
||||
echo "No changes to commit"
|
||||
else
|
||||
git commit -m "chore: rebuild dist/openclaw from source"
|
||||
git push
|
||||
git commit --amend --no-edit
|
||||
git push --force-with-lease
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue