From e695c66e1fd67b23333c93f66ff66cf006783abd Mon Sep 17 00:00:00 2001 From: paspo Date: Wed, 7 Aug 2024 22:25:28 +0200 Subject: [PATCH] test 17 --- .gitea/workflows/unicode_check.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/unicode_check.yaml b/.gitea/workflows/unicode_check.yaml index d9992e3..40487c6 100644 --- a/.gitea/workflows/unicode_check.yaml +++ b/.gitea/workflows/unicode_check.yaml @@ -16,15 +16,18 @@ jobs: - name: Getting changed files id: file-lister + shell: bash 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" - - name: markdownlint-cli + - name: Markdown Lint # env: # FILELIST: ${{ steps.file-lister.outputs.FILELIST }} uses: nosborn/github-action-markdown-cli@v3.3.0