From d4df12505bc3ba52354a5cd3890ff69fc4316d69 Mon Sep 17 00:00:00 2001 From: rebelonion <87634197+rebelonion@users.noreply.github.com> Date: Sun, 4 Feb 2024 04:27:12 -0600 Subject: [PATCH] fix: handle multiline message --- .github/workflows/beta.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index c5895af1..e13235ad 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -23,7 +23,9 @@ jobs: id: get_commits run: | echo 'COMMIT_LOG<> $GITHUB_ENV - git log ${{ github.event.before }}..${{ github.sha }} --pretty=format:"%s" -10 >> $GITHUB_ENV + git log ${{ github.event.before }}..${{ github.sha }} --pretty=format:"%s" -10 | while IFS= read -r line; do + echo "$line" >> $GITHUB_ENV + done echo 'EOF' >> $GITHUB_ENV - name: Set variables