1
0
Fork 0
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:
Vadim Nifadev 2025-02-27 17:52:08 +03:00
parent c909ede235
commit 378a1bae00
2 changed files with 8 additions and 0 deletions

View file

@ -14,4 +14,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - 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 - uses: DavidAnson/markdownlint-cli2-action@v17
with:
globs: "${{ runner.temp }}/diff.md"

1
README.md vendored
View file

@ -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). 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... So, here we go...
[invalid link]()
# Table of Contents # Table of Contents