diff --git a/.github/workflows/check-md.yml b/.github/workflows/check-md.yml new file mode 100644 index 00000000..ed5e5a21 --- /dev/null +++ b/.github/workflows/check-md.yml @@ -0,0 +1,18 @@ +name: Check Markdown links + +on: + pull_request: + branches: + - master + - 'release/*' + +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: '.github/workflows/markdown.links.config.json' + check-modified-files-only: 'yes' + use-verbose-mode: 'yes' diff --git a/.github/workflows/markdown.links.config.json b/.github/workflows/markdown.links.config.json new file mode 100644 index 00000000..ad77562d --- /dev/null +++ b/.github/workflows/markdown.links.config.json @@ -0,0 +1,7 @@ +{ + "ignorePatterns": [ + { + "pattern": "^https://my-web-app.com" + } + ] +} \ No newline at end of file