mirror of
https://github.com/jellyfin/jellyfin-meta.git
synced 2026-09-02 19:13:08 +03:00
Add lint workflow using markdownlint-cli
This commit is contained in:
@@ -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'
|
||||
Reference in New Issue
Block a user