Skip to content

Check Markdown links #993

Check Markdown links

Check Markdown links #993

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@128a63446a954579617e875aaab7d2978154e969 # v2.4.0
with:
egress-policy: audit
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- 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