---
name: Docs
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
paths:
- '**.md'
permissions: contents: read
jobs:
markdown-link-check:
name: Broken Links
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 with:
submodules: recursive
- name: Run link check
uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 with:
use-quiet-mode: 'no'
use-verbose-mode: 'yes'
check-modified-files-only: 'yes'
config-file: '.github/mlc_config.json'
base-branch: main