Skip to content

Markdown Links Check #47

Markdown Links Check

Markdown Links Check #47

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@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
egress-policy: audit
- uses: actions/checkout@61b9e3751b92087fd0b06925ba6dd6314e06f089 # 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