Skip to content

Commit 2b6e3ad

Browse files
authored
Create github workflow
1 parent e2b42ea commit 2b6e3ad

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/markdownlinter.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Check Markdown
2+
# Controls when the workflow will run
3+
on: [push, pull_request, workflow_dispatch]
4+
jobs:
5+
# This workflow contains a single job called "lint"
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
# Checks-out repository under $GITHUB_WORKSPACE, so job can access it
10+
- uses: actions/checkout@v4
11+
# Runs markdown linter on all markdown files
12+
- uses: DavidAnson/markdownlint-cli2-action@v20
13+
with:
14+
globs: '**/*.md'

0 commit comments

Comments
 (0)