diff --git a/script.sh b/script.sh index 8765f6b..b304a4b 100644 --- a/script.sh +++ b/script.sh @@ -42,5 +42,5 @@ fi echo "keyword detected: $result" echo "::endgroup::" -echo "::set-output name=COMMIT_MESSAGE::$commit_message" +echo "::set-output name=COMMIT_MESSAGE::$(echo $commit_message | sed 's/\"/\\"/g')" echo "::set-output name=CI_TRIGGERED::$result"