diff --git a/.gitea/workflows/unicode_check.yaml b/.gitea/workflows/unicode_check.yaml index d9992e3..efa1f0c 100644 --- a/.gitea/workflows/unicode_check.yaml +++ b/.gitea/workflows/unicode_check.yaml @@ -19,7 +19,9 @@ jobs: run: | echo "Initial commit: ${{ github.event.pull_request.base.sha }}" echo "Final commit: ${{ github.event.pull_request.head.sha }}" - F=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} content/ | grep \.md$ ) + while read LINE; do + F="$F \"${LINE}\"" + done < (git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} content/ | grep \.md$) echo "File list:" echo "$F" echo "FILELIST=$F" >> "$GITHUB_OUTPUT"