diff --git a/entrypoint.sh b/entrypoint.sh index b280db5..f492563 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -8,7 +8,7 @@ RANDOM_INDEX=$(( RANDOM % NUM_MESSAGES )) MESSAGE=$(yq eval ".messages[$RANDOM_INDEX]" "$MESSAGE_FILE") -PLUGIN_PR_BODY=$(echo "$PLUGIN_PR_BODY" | sed "s|{- random-pr-message -}|$MESSAGE|") +PLUGIN_PR_BODY=$(echo "$PLUGIN_PR_BODY" | sed "s/{- random-pr-message -}/$MESSAGE/") echo "$PLUGIN_PR_BODY"