Files
cs249r_book/.github/workflows/link-check.yml
Vijay Janapa Reddi 7e5a873fcb Improves link checking configuration
Enhances the link checking workflow by excluding mail links, limiting concurrency, accepting specific HTTP status codes, and ignoring broken links to improve accuracy and reduce false positives.
2025-06-01 21:01:57 -04:00

18 lines
493 B
YAML

name: 'Link Check'
on:
workflow_call:
workflow_dispatch:
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check Links
uses: lycheeverse/lychee-action@v1.9.3
with:
args: --verbose --no-progress --exclude-mail --max-concurrency 10 --accept 200 --accept 403 --exclude-file .lycheeignore './contents/core/**/*.qmd' './contents/labs/**/*.qmd'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}