From 4694e9ce7c2db78b93eda02f4b7c70524da22026 Mon Sep 17 00:00:00 2001 From: Tom Neuber Date: Wed, 9 Oct 2024 13:38:50 +0200 Subject: [PATCH] entrypoint.sh: replace pipe with slash --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"