forked from BgLUG/bglug.it
unicode check action #1
@ -14,10 +14,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Check for disallowed chars
|
- name: Getting changed files
|
||||||
id: file-lister
|
id: file-lister
|
||||||
run: |
|
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
|
- name: markdownlint-cli
|
||||||
# env:
|
# env:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user