Skip to content

Commit ac798de

Browse files
committed
fix: use heredoc for multi-line commit message (YAML syntax)
1 parent 6b72618 commit ac798de

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/workflows/update-and-build-ralphex-fe.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,15 @@ jobs:
9595
9696
git add "${{ env.DOCKERFILE_PATH }}"
9797
98-
# Create commit message
99-
git commit -m "chore(ralphex-fe): update versions to Bun ${BUN_VERSION}, Hugo ${HUGO_VERSION}
98+
# Create commit message using heredoc for proper multi-line formatting
99+
git commit -m "$(cat <<EOF
100+
chore(ralphex-fe): update versions to Bun ${BUN_VERSION}, Hugo ${HUGO_VERSION}
100101

101102
Updated via GitHub Actions workflow dispatch.
102103

103-
Co-Authored-By: ${GITHUB_ACTOR} <${ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com>"
104+
Co-Authored-By: ${GITHUB_ACTOR} <${ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com>
105+
EOF
106+
)"
104107

105108
git push
106109

0 commit comments

Comments
 (0)