diff --git a/.gitea/workflows/unicode_check.yaml b/.gitea/workflows/unicode_check.yaml index 70a7a80..d9992e3 100644 --- a/.gitea/workflows/unicode_check.yaml +++ b/.gitea/workflows/unicode_check.yaml @@ -14,10 +14,15 @@ jobs: with: fetch-depth: 0 - - name: Check for disallowed chars + - name: Getting changed files id: file-lister run: | - echo "FILELIST=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} content/ )" >> "$GITHUB_OUTPUT" + 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$ ) + echo "File list:" + echo "$F" + echo "FILELIST=$F" >> "$GITHUB_OUTPUT" - name: markdownlint-cli # env: