Auto PR: Only keep the first line of the commit message
Fixes issue highlited in #1183
This commit is contained in:
parent
cd046b9902
commit
60915d2eb9
|
@ -76,7 +76,7 @@ function pr_payload() {
|
|||
local body
|
||||
local maintainers
|
||||
|
||||
escaped_message="$(echo "${COMMIT_MESSAGE}" | sed -E -e "s/\"/\\\\\"/g")"
|
||||
escaped_message="$(echo "${COMMIT_MESSAGE}" | head -n 1 | sed -E -e "s/\"/\\\\\"/g")"
|
||||
|
||||
if [ -n "${PR_NUMBER}" ]; then
|
||||
body="Pull Request: ${DOCKER_SLUG}#${PR_NUMBER}"
|
||||
|
|
Loading…
Reference in New Issue