Skip to content

Check Link Rot

Check Link Rot #9

name: Check Link Rot
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * 0'
jobs:
link-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install lychee (Link Checker)
uses: lycheeverse/[email protected]
with:
args: --verbose --exclude-mail --timeout 20 .
- name: Upload broken links report (if any)
if: failure()
uses: actions/upload-artifact@main
with:
name: broken-links-report
path: lychee.out