mirror of
https://github.com/jellyfin/jellyfin-meta.git
synced 2024-11-23 05:59:49 +00:00
Add lint workflow using markdownlint-cli
This commit is contained in:
parent
682724c9ea
commit
2eadcebc54
20
.github/workflows/lint.yml
vendored
Normal file
20
.github/workflows/lint.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Lint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
markdownlint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Problem Matcher
|
||||
uses: xt0rted/markdownlint-problem-matcher@v1
|
||||
- name: Run Markdownlint
|
||||
run: npx --package markdownlint-cli markdownlint '**/*.md'
|
Loading…
Reference in New Issue
Block a user