Skip to content

Commit f95e91a

Browse files
committed
Add Markdown lint action
1 parent 14bff02 commit f95e91a

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/markdownlint-config.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"default": true,
3+
"MD013": false,
4+
"MD041": false,
5+
"MD014": false,
6+
"MD024": false
7+
}

.github/workflows/markdownlint.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: markdownlint
3+
4+
on:
5+
pull_request:
6+
push:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
markdownlint:
13+
name: Check for Markdown errors
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: articulate/actions-markdownlint@v1
19+
with:
20+
config: .github/markdownlint-config.json
21+
files: './*.md'

0 commit comments

Comments
 (0)