name: Markdown Links Check
# runs every monday at 9 am
on:
  schedule:
    - cron: '0 9 * * 1'

jobs:
  check-links:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: gaurav-nelson/github-action-markdown-link-check@v1
        # checks all markdown files from important folders including all subfolders
        with:
          # only show errors that occur instead of successful links + errors
          use-quiet-mode: 'yes'
          # output full HTTP info for broken links
          use-verbose-mode: 'yes'
          config-file: '.github/workflows/markdown-link-check-config.json'
