From 462b69765a5c7e3ebcf872c8c7a4b9b1e0b97b74 Mon Sep 17 00:00:00 2001 From: paspo Date: Thu, 8 Aug 2024 20:25:26 +0200 Subject: [PATCH] test 19 --- .gitea/workflows/unicode_check.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/unicode_check.yaml b/.gitea/workflows/unicode_check.yaml index bf8aa3b..cf9c815 100644 --- a/.gitea/workflows/unicode_check.yaml +++ b/.gitea/workflows/unicode_check.yaml @@ -21,7 +21,8 @@ jobs: echo "Initial commit: ${{ github.event.pull_request.base.sha }}" echo "Final commit: ${{ github.event.pull_request.head.sha }}" while read LINE; do - F="$F \"${LINE}\"" + LINE=$(printf %q "$LINE") + 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" @@ -36,11 +37,13 @@ jobs: echo $FILELIST - name: Markdown Lint - # env: - # FILELIST: ${{ steps.file-lister.outputs.FILELIST }} + env: + FILELIST: ${{ steps.file-lister.outputs.FILELIST }} uses: nosborn/github-action-markdown-cli@v3.3.0 with: - files: "${{ steps.file-lister.outputs.FILELIST }}" + files: "${{ env.FILELIST }}" + entrypoint: /bin/sh + args: -c 'set' config_file: .markdownlint.yaml dot: false # rules: examples/rules/custom.js