unicode check action #1

Closed
paspo wants to merge 28 commits from unicode-check into main
Showing only changes of commit a2f52db0e5 - Show all commits

View File

@ -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: