Add markdownlint-cli2 as Github Action and pre-commit hook

This commit is contained in:
Vadim Nifadev
2024-10-23 08:54:18 +03:00
parent ebfa77e509
commit a999ed789f
2 changed files with 24 additions and 0 deletions

17
.github/workflows/pr.yaml vendored Normal file
View File

@@ -0,0 +1,17 @@
on: [pull_request]
permissions:
contents: read
pull-requests: read
checks: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v17