diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml new file mode 100644 index 0000000000..9032cf1691 --- /dev/null +++ b/.github/workflows/link-check.yml @@ -0,0 +1,15 @@ +name: Check Markdown links +on: + push: + +jobs: + markdown-link-check: + name: Markdown Link Check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: gaurav-nelson/github-action-markdown-link-check@v1 + with: + config-file: .github/workflows/markdown-link-check.json + use-quiet-mode: 'no' + use-verbose-mode: 'yes' diff --git a/.github/workflows/markdown-link-check.json b/.github/workflows/markdown-link-check.json new file mode 100644 index 0000000000..7ca5a46569 --- /dev/null +++ b/.github/workflows/markdown-link-check.json @@ -0,0 +1,7 @@ +{ + "ignorePatterns": [ + { + "pattern": "^(?!http(s)?:\/\/.*)|^(https:\/\/.*((osism.xyz)|(in-a-box.cloud)))(:?[0-9]+)?(\/.*)?$" + } + ] + }