From 41019db1c8ac34b1a15d69655eb53ef39ab6e9b1 Mon Sep 17 00:00:00 2001 From: Peter Nied Date: Tue, 17 Oct 2023 09:54:39 -0500 Subject: [PATCH] Fix sed parameters Signed-off-by: Peter Nied --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 5eba2ab..767de09 100644 --- a/action.yml +++ b/action.yml @@ -39,7 +39,7 @@ runs: - run: | declare -i approvals_count=0 - maintainers_padded=" $(echo ${{ inputs.maintainers }} | tr ',' ' ' | sed s/ \+/ /g) " # Padding before and after for substring safety check below + maintainers_padded=" $(echo ${{ inputs.maintainers }} | tr ',' ' ' | sed 's/ */ /g') " # Padding before and after for substring safety check below maintainer_approvals="" for user in $approvers; do # Match with strings padding the username on both sides to avoid substring matches