From 3f6f23e4a5c2bd45e71f11c780186bb53576f1b4 Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Wed, 9 Oct 2024 04:02:25 -0400 Subject: [PATCH] ci(build): fix commit msg --- .gitea/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 9635634..4c6604b 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -63,7 +63,7 @@ jobs: - name: Clone, Commit and Push shell: bash run: | - COMMIT_MSG=$(git log -1 --pretty=%B) + COMMIT_MSG=${{ github.event.head_commit.message }} git clone ssh://git@focs.ji.sjtu.edu.cn:2222/JOJ/runner-images.git runner-images cd runner-images if echo "$COMMIT_MSG" | grep -qi "force build"; then