Skip to content

Check Markdown links #488

Check Markdown links

Check Markdown links #488

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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # 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