These should do the checks for us. Not an expert though so it may need a bit of tweaking before they do what we want them to do.
19 lines
374 B
YAML
19 lines
374 B
YAML
name: markdownlint
|
|
on:
|
|
push:
|
|
paths:
|
|
- '**/*.md'
|
|
- '.markdownlint.json'
|
|
- '!third_party/**'
|
|
|
|
jobs:
|
|
pylint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: markdownlint-cli
|
|
uses: nosborn/github-action-markdown-cli@v1.1.1
|
|
with:
|
|
files: **/*.md
|
|
config_file: ".markdownlint.json"
|