Skip to content

Commit a2953dc

Browse files
committed
Add markdown linter
1 parent 3e869e6 commit a2953dc

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/markdown.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Markdown
3+
on: pull_request
4+
5+
# Detect if this action is already running, and cancel it.
6+
# This most likely happened because a second push has been made to a branch.
7+
concurrency:
8+
group: ${{ github.repository_id }}-${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
permissions:
12+
contents: read
13+
pull-requests: write
14+
15+
jobs:
16+
markdown:
17+
name: Markdownlint
18+
runs-on: ubuntu-24.04
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Run markdownlint
22+
uses: DavidAnson/markdownlint-cli2-action@v20
23+
with:
24+
globs: |
25+
*.md
26+
docs/*.md

0 commit comments

Comments
 (0)