mirror of
https://github.com/satwikkansal/wtfpython.git
synced 2025-08-20 11:51:27 +02:00
Fix markdownlint errors part 1
This commit is contained in:
5
.github/workflows/pr.yml
vendored
5
.github/workflows/pr.yml
vendored
@@ -20,6 +20,9 @@ jobs:
|
|||||||
git diff origin/${{ github.base_ref }} *.md translations/*/*.md \
|
git diff origin/${{ github.base_ref }} *.md translations/*/*.md \
|
||||||
| sed -n '/^+/p' | sed '/^+++/d' | sed 's/^+//' \
|
| sed -n '/^+/p' | sed '/^+++/d' | sed 's/^+//' \
|
||||||
> ${{ runner.temp }}/diff.md
|
> ${{ runner.temp }}/diff.md
|
||||||
- uses: DavidAnson/markdownlint-cli2-action@v17
|
- name: Output diff
|
||||||
|
run: cat ${{ runner.temp }}/diff.md
|
||||||
|
- name: Check diff with markdownlint
|
||||||
|
uses: DavidAnson/markdownlint-cli2-action@v17
|
||||||
with:
|
with:
|
||||||
globs: "${{ runner.temp }}/diff.md"
|
globs: "${{ runner.temp }}/diff.md"
|
||||||
|
Reference in New Issue
Block a user