Skip to content

Lightweight workflow to check for broken markdown links #2

Lightweight workflow to check for broken markdown links

Lightweight workflow to check for broken markdown links #2

Workflow file for this run

name: Check Markdown Links
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Markdown Link Checker
run: npm install -g markdown-link-check
- name: Find Markdown Files and Check Links
run: |
find . -name \*.md -print0 | xargs -0 -n1 markdown-link-check