Skip to content

Check Markdown links #1539

Check Markdown links

Check Markdown links #1539

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@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # 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