Skip to content

Commit 88611df

Browse files
committed
Check markdown during CI
1 parent 707a458 commit 88611df

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/checks.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Checks
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
workflow_dispatch:
10+
11+
jobs:
12+
check-markdown:
13+
name: Check Markdown
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
20+
# Update files to resolve fixable issues:
21+
# `markdownlint-cli2 "**/*.md" --fix`.
22+
- name: Check Markdown
23+
uses: DavidAnson/markdownlint-cli2-action@v19
24+
with:
25+
globs: '**/*.md'

0 commit comments

Comments
 (0)