Skip to content

Commit ab34fc9

Browse files
committed
chore: add markdown linter
1 parent 8a614cf commit ab34fc9

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/linter.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Lint Markdown
2+
on:
3+
workflow_dispatch:
4+
push:
5+
6+
###############
7+
# Set the Job #
8+
###############
9+
jobs:
10+
build:
11+
name: Lint Markdown Docs
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout Code
15+
uses: actions/checkout@v2
16+
with:
17+
# Full git history is needed to get a proper list of changed files within `super-linter`
18+
fetch-depth: 0
19+
- name: Lint
20+
uses: github/super-linter/slim@v4
21+
env:
22+
VALIDATE_ALL_CODEBASE: false
23+
VALIDATE_MARKDOWN: true
24+
DEFAULT_BRANCH: main
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)