I also ran our documentation against a few other linters, to see what they would find, and fixed accordingly.
22 lines
471 B
YAML
22 lines
471 B
YAML
name: markdownlint
|
|
on:
|
|
push:
|
|
paths:
|
|
- '**/*.md'
|
|
- '.markdownlint.json'
|
|
- '!third_party/**'
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
mdlint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: markdownlint-cli
|
|
uses: nosborn/github-action-markdown-cli@v3
|
|
with:
|
|
files: '**/*.md'
|
|
config_file: '.markdownlint.json'
|
|
ignore_files: 'third_party/*'
|