From e70ac2dfbf684cda38d0f6a5dc48654ede9dd807 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Thu, 10 Oct 2024 21:28:15 -0500 Subject: [PATCH] Update ci.yml [gha-debug] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0563eabb91..07719af9598 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -100,7 +100,7 @@ jobs: - name: Set commit message env var run: | # get the sha of the last branch commit - BRANCH_SHA=$(git rev-list --parents -n 1 HEAD | cut -d" " -f 3) + BRANCH_SHA=$(git rev-list --parents -n 1 HEAD | rev | cut -d" " -f 1 | rev) COMMIT_MESSAGE=$(git log $BRANCH_SHA -1 --pretty=%B) echo ${COMMIT_MESSAGE} echo "COMMIT_MESSAGE=${COMMIT_MESSAGE}" >> $GITHUB_ENV