forked from BgLUG/bglug.it
test 17
All checks were successful
Check for disallowed chars / unicode-check (pull_request) Successful in 2m16s
All checks were successful
Check for disallowed chars / unicode-check (pull_request) Successful in 2m16s
This commit is contained in:
parent
ff713a1e82
commit
529cf0c0f6
@ -16,20 +16,23 @@ 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
|
||||
with:
|
||||
files: ${{ steps.file-lister.outputs.FILELIST }}
|
||||
files: "${{ steps.file-lister.outputs.FILELIST }}"
|
||||
config_file: .markdownlint.yaml
|
||||
dot: false
|
||||
# rules: examples/rules/custom.js
|
||||
|
Loading…
x
Reference in New Issue
Block a user