name: Check for bad links in documentation

on: [ 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:
        check-modified-files-only: 'yes'
        use-quiet-mode: 'yes'
        config-file: .github/workflows/markdown-link-check-config.json
        base-branch: ${{ github.base_ref }}
