From a92f96a3206fab85573b45b359c86fca1dce71d1 Mon Sep 17 00:00:00 2001 From: wangzhuc Date: Wed, 1 Apr 2026 14:06:08 +0800 Subject: [PATCH] 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) --- .github/workflows/build-openclaw.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-openclaw.yml b/.github/workflows/build-openclaw.yml index 5389458..b715bd6 100644 --- a/.github/workflows/build-openclaw.yml +++ b/.github/workflows/build-openclaw.yml @@ -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