test 17
All checks were successful
Check for disallowed chars / unicode-check (pull_request) Successful in 1m50s

This commit is contained in:
Paolo Asperti 2024-08-07 22:25:28 +02:00
parent ff713a1e82
commit e695c66e1f
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -16,15 +16,18 @@ jobs:
- name: Getting changed files - name: Getting changed files
id: file-lister id: file-lister
shell: bash
run: | run: |
echo "Initial commit: ${{ github.event.pull_request.base.sha }}" echo "Initial commit: ${{ github.event.pull_request.base.sha }}"
echo "Final commit: ${{ github.event.pull_request.head.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 "File list:"
echo "$F" echo "$F"
echo "FILELIST=$F" >> "$GITHUB_OUTPUT" echo "FILELIST=$F" >> "$GITHUB_OUTPUT"
- name: markdownlint-cli - name: Markdown Lint
# env: # env:
# FILELIST: ${{ steps.file-lister.outputs.FILELIST }} # FILELIST: ${{ steps.file-lister.outputs.FILELIST }}
uses: nosborn/github-action-markdown-cli@v3.3.0 uses: nosborn/github-action-markdown-cli@v3.3.0