From 99aaac04e4d2e31c8214a8019b0204345123251e Mon Sep 17 00:00:00 2001 From: Sangwoon Park <81661259+ryanproback@users.noreply.github.com> Date: Tue, 7 Apr 2026 13:40:42 +0900 Subject: [PATCH] fix: escape newlines in changed_files JSON payload --- .github/workflows/notify-policy-changes.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/notify-policy-changes.yml b/.github/workflows/notify-policy-changes.yml index b02b2449..91527ccb 100644 --- a/.github/workflows/notify-policy-changes.yml +++ b/.github/workflows/notify-policy-changes.yml @@ -25,13 +25,10 @@ jobs: 'data/src/**' \ 'presentation/src/**') COUNT=$(echo "$FILES" | wc -l | tr -d ' ') - LIST=$(echo "$FILES" | head -10 | sed 's/^/- /') + LIST=$(echo "$FILES" | head -10 | sed 's/^/- /' | jq -Rs '.') + LIST=${LIST:1:-1} # strip outer quotes from jq output echo "count=$COUNT" >> $GITHUB_OUTPUT - { - echo "list<> $GITHUB_OUTPUT + echo "list=$LIST" >> $GITHUB_OUTPUT - name: Dispatch to boolti-docs uses: peter-evans/repository-dispatch@v3