Skip to content

Link check

Link check #4

Workflow file for this run

name: Link check
on:
schedule:
# Mondays 06:00 UTC
- cron: "0 6 * * 1"
workflow_dispatch:
permissions:
contents: read
issues: write
jobs:
lychee:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build
- name: Run Lychee
id: lychee
uses: lycheeverse/lychee-action@v2
with:
args: >-
--no-progress
--accept 200,204,206,301,302,308,403,429
--exclude-mail
--exclude-path dist/_astro
--exclude-path dist/pagefind
--max-concurrency 8
'./dist/**/*.html'
fail: false
- name: File issue from report
if: env.lychee_exit_code != '0'
uses: peter-evans/create-issue-from-file@v5
with:
title: "Link check report ${{ github.run_id }}"
content-filepath: ./lychee/out.md
labels: docs, link-check