Skip to content

Check Markdown links #1336

Check Markdown links

Check Markdown links #1336

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@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
egress-policy: audit
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.0.0
- uses: gaurav-nelson/github-action-markdown-link-check@d53a906aa6b22b8979d33bc86170567e619495ec # v1.0.15
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