Skip to content

Commit 2e7cc02

Browse files
Merge pull request #1184 from LaurentGoderre/fix-pr
Auto PR: Only keep the first line of the commit message
2 parents 8162dba + 60915d2 commit 2e7cc02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate-stackbrew-pr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function pr_payload() {
7676
local body
7777
local maintainers
7878

79-
escaped_message="$(echo "${COMMIT_MESSAGE}" | sed -E -e "s/\"/\\\\\"/g")"
79+
escaped_message="$(echo "${COMMIT_MESSAGE}" | head -n 1 | sed -E -e "s/\"/\\\\\"/g")"
8080

8181
if [ -n "${PR_NUMBER}" ]; then
8282
body="Pull Request: ${DOCKER_SLUG}#${PR_NUMBER}"

0 commit comments

Comments
 (0)