Skip to content

Add automated markdown link checking GitHub Action (#1800) #14

Add automated markdown link checking GitHub Action (#1800)

Add automated markdown link checking GitHub Action (#1800) #14

name: Check Markdown Links
on:
push:
branches: [master]
paths:
- '**.md'
- '.github/workflows/check-markdown-links.yml'
- '.github/markdown-link-check-config.json'
pull_request:
paths:
- '**.md'
- '.github/workflows/check-markdown-links.yml'
- '.github/markdown-link-check-config.json'
schedule:
# Run weekly on Monday at 8am UTC
- cron: '0 8 * * 1'
workflow_dispatch:
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check markdown links
uses: tcort/github-action-markdown-link-check@a800ad5f1c35bf61987946fd31c15726a1c9f2ba # v1.1.0
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'no'
config-file: '.github/markdown-link-check-config.json'
folder-path: 'docs/'
file-extension: '.md'
max-depth: -1
check-modified-files-only: 'no'
base-branch: 'master'