Add Github Action to check for broken links

This commit is contained in:
engn33r
2021-08-29 10:48:07 -04:00
parent 42d77932ae
commit 921156dc31
2 changed files with 17 additions and 0 deletions

12
.github/workflows/link-check.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
name: Check Markdown links
on: [push, pull_request]
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: 'mlc_config.json'

5
mlc_config.json Normal file
View File

@@ -0,0 +1,5 @@
{
"retryCount": 3,
"fallbackRetryDelay": "10s",
"aliveStatusCodes": [200, 429]
}