Skip to content

Commit

Permalink
feat(CI): add Markdown link checker
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
jbampton committed Dec 16, 2020
1 parent 7e6ecd0 commit 299fce5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/markdown-link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 🏀 Markdown Link Check

on: [pull_request]

jobs:
markdown-link-check:
name: 🧹 Check Links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'no'
8 changes: 8 additions & 0 deletions mlc_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"ignorePatterns": [
{
"pattern": "^http:\/\/127.0.0.1.*",
"pattern": "^http:\/\/localhost.*"
}
]
}

0 comments on commit 299fce5

Please sign in to comment.