test 19
Some checks failed
Check for disallowed chars / unicode-check (pull_request) Failing after 2m1s

This commit is contained in:
Paolo Asperti 2024-08-08 20:25:26 +02:00
parent 7eeb1c726b
commit bf9eb9383b
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

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