ci: add markdown linting workflow (#16)

* ci: add markdown linting workflow

* fix: disable MD025 for frontmatter and H1 compatibility

---------

Co-authored-by: gandalf-the-greybeard[bot] <gandalf-the-greybeard[bot]@users.noreply.github.com>
This commit was merged in pull request #16.
This commit is contained in:
hugh-hackman[bot]
2026-03-11 01:57:37 +00:00
committed by GitHub
parent d9f5a454a5
commit c0186224d8
2 changed files with 24 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Lint Markdown
uses: DavidAnson/markdownlint-cli2-action@v15
with:
globs: "**/*.md"
+7
View File
@@ -0,0 +1,7 @@
{
"config": {
"MD013": false, // Disable line length rule as it's often too restrictive for docs
"MD041": false, // Disable first-line heading rule (frontmatter often comes first)
"MD025": false // Allow frontmatter title and H1
}
}