mirror of
https://github.com/satwikkansal/wtfpython
synced 2025-07-04 20:38:06 +02:00
Add markdownlint-cli2 as Github Action and pre-commit hook
This commit is contained in:
parent
ebfa77e509
commit
a999ed789f
2 changed files with 24 additions and 0 deletions
17
.github/workflows/pr.yaml
vendored
Normal file
17
.github/workflows/pr.yaml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue