From e126caf971b12a96e37e8f3b5f84ca03e5cd8d48 Mon Sep 17 00:00:00 2001 From: Ceres Barros Date: Fri, 24 May 2024 11:11:35 -0700 Subject: [PATCH] fix GHA wf: only extract commit subject * this message/note tests if it worked --- .github/workflows/R-CMD-check.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 0af57438..911eef67 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -26,8 +26,8 @@ jobs: id: getmsg run: | # Get your last commit message, not the merge commit. - msg=$(git log -1 --no-merges --pretty=%B) - echo "msg=$(git log -1 --no-merges --pretty=%B)" >> "$GITHUB_OUTPUT" + msg=$(git log -1 --no-merges --pretty=%s) + echo "msg=$(git log -1 --no-merges --pretty=%s)" >> "$GITHUB_OUTPUT" echo "commit message: $msg" R-CMD-check: