mirror of
https://github.com/satwikkansal/wtfpython.git
synced 2025-08-18 10:51:15 +02:00
Add markdownlint-cli2 as Github Action and pre-commit hook
This commit is contained in:
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
|
Reference in New Issue
Block a user