diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml new file mode 100644 index 0000000..e4d1733 --- /dev/null +++ b/.github/workflows/link-check.yml @@ -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' diff --git a/mlc_config.json b/mlc_config.json new file mode 100644 index 0000000..c941d62 --- /dev/null +++ b/mlc_config.json @@ -0,0 +1,5 @@ +{ + "retryCount": 3, + "fallbackRetryDelay": "10s", + "aliveStatusCodes": [200, 429] +}