Skip to content

Markdown Links Check #98

Markdown Links Check

Markdown Links Check #98

name: Markdown Links Check
# runs every monday at 9 am
on:
schedule:
- cron: "0 9 * * 1"
permissions:
contents: read
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # master
- uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1
# checks all markdown files from root but ignores subfolders
# By Removing the max-depth variable we can modify it -> to check all the .md files in the entire repo.
with:
use-quiet-mode: 'yes'
# Specifying yes to show only errors in the output
use-verbose-mode: 'yes'
# Specifying yes to show detailed HTTP status for checked links.
max-depth: 0