Skip to content

Check Markdown links #1758

Check Markdown links

Check Markdown links #1758

name: Check Markdown links
on:
push:
paths:
- "**.md"
branches:
- main
pull_request:
branches:
- main
paths:
- "**.md"
schedule:
- cron: "0 9 * * *"
permissions:
contents: read
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.0.0
- uses: gaurav-nelson/github-action-markdown-link-check@3c3b66f1f7d0900e37b71eca45b63ea9eedfce31 # v1.0.17
with:
# this will only show errors in the output
use-quiet-mode: 'yes'
# this will show detailed HTTP status for checked links
use-verbose-mode: 'yes'
config-file: .markdownlinkcheck.json