Skip to content

Link Check

Link Check #24

Workflow file for this run

name: Link Check
on:
push:
branches: [main]
paths:
- '**/*.md'
pull_request:
paths:
- '**/*.md'
schedule:
# Run weekly on Mondays at 09:00 UTC to catch links that rot over time
- cron: '0 9 * * 1'
permissions:
contents: read
jobs:
link-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Check links
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2
with:
args: >
--verbose
--no-progress
--accept 200,429
'**/*.md'
fail: true