Add GitHub Action for linting Markdown files

This commit is contained in:
Jacob Kraniak 2026-03-03 17:22:24 -05:00 committed by GitHub
parent fdfbfe8a12
commit 1eecd643ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 22 additions and 0 deletions

22
.github/workflows/markdown-link.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Lint Markdown
on:
push:
branches: [ "*" ]
pull_request:
branches: [ master ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed for some linters
- name: Lint Markdown files
uses: nosborn/github-action-markdown-cli@v3
with:
files: .
config_file: ".markdownlint.json"
ignore_path: ".markdownlintignore"