Skip to content

Commit 798963a

Browse files
committed
feat(CI): add Markdown link checker
- Checks for dead links in Markdown files - First run will check all files and then we will have a list of dead links - Then we can set it up to only run on files added in the PR
1 parent 7e6ecd0 commit 798963a

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: 🏀 Markdown Link Check
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
markdown-link-check:
7+
name: 🧹 Check Links
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@master
11+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
12+
with:
13+
use-quiet-mode: 'yes'
14+
use-verbose-mode: 'no'

mlc_config.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"ignorePatterns": [
3+
{
4+
"pattern": "^http:\/\/127.0.0.1.+",
5+
"pattern": "^http:\/\/localhost.+"
6+
}
7+
]
8+
}

0 commit comments

Comments
 (0)