From 244a14de534d73021a1e5e21ca3d5d6509dcccfa Mon Sep 17 00:00:00 2001 From: Andrew Thrasher Date: Mon, 11 Nov 2024 13:30:58 -0500 Subject: [PATCH 1/2] fix: broken exclusion parsing --- entrypoint.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index aa186a2..f50e337 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -38,10 +38,12 @@ exclusions=${INPUT_PATTERNS} if [ -n "$exclusions" ]; then echo "Exclusions provided. Writing to .sprocket.yml." echo -n "" > .sprocket.yml - for exclusion in $(echo $exclusions | sed 's/,/ /') + for exclusion in $(echo $exclusions | sed 's/,/ /g') do echo "$exclusion" >> .sprocket.yml - done + + echo " [***] Exclusions [***]" + cat .sprocket.yml fi EXITCODE=0 From b9250599c7553fed522405dcc94a3f03537fa8fd Mon Sep 17 00:00:00 2001 From: Andrew Thrasher Date: Mon, 11 Nov 2024 13:34:43 -0500 Subject: [PATCH 2/2] chore: add missing line --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index f50e337..aed5018 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -41,7 +41,8 @@ if [ -n "$exclusions" ]; then for exclusion in $(echo $exclusions | sed 's/,/ /g') do echo "$exclusion" >> .sprocket.yml - + done + echo " [***] Exclusions [***]" cat .sprocket.yml fi