mirror of
https://github.com/satwikkansal/wtfpython
synced 2025-05-19 18:53:46 +02:00
Fix markdownlint errors part 1
This commit is contained in:
parent
0a9f1dbaaa
commit
a6a6473255
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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user