mirror of
https://github.com/satwikkansal/wtfpython
synced 2025-07-04 12:28:05 +02:00
Setup markdownlint Github Action
This commit is contained in:
parent
c909ede235
commit
378a1bae00
2 changed files with 8 additions and 0 deletions
7
.github/workflows/pr.yml
vendored
7
.github/workflows/pr.yml
vendored
|
@ -14,4 +14,11 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Write git diff to temp file
|
||||
run: |
|
||||
git fetch origin
|
||||
git diff origin/${{ github.base_ref }} --unified=0 *.md translations/*/*.md \
|
||||
> ${{ runner.temp }}/diff.md
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v17
|
||||
with:
|
||||
globs: "${{ runner.temp }}/diff.md"
|
||||
|
|
1
README.md
vendored
1
README.md
vendored
|
@ -23,6 +23,7 @@ If you're an experienced Python programmer, you can take it as a challenge to ge
|
|||
PS: If you're a returning reader, you can learn about the new modifications [here](https://github.com/satwikkansal/wtfpython/releases/) (the examples marked with asterisk are the ones added in the latest major revision).
|
||||
|
||||
So, here we go...
|
||||
[invalid link]()
|
||||
|
||||
# Table of Contents
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue