Skip to content

Merge branch 'main' into chlog-guard #5519

Merge branch 'main' into chlog-guard

Merge branch 'main' into chlog-guard #5519

name: Links (Fail Fast)
on:
push:
pull_request:
jobs:
check-links:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Restore lychee cache
uses: actions/cache/restore@v4
id: cache-restore
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
restore-keys: cache-lychee-
- name: Link Checker
uses: lycheeverse/lychee-action@v2.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
fail: true
args: --max-concurrency 5 --cache --max-cache-age 1d --cache-exclude-status 300..=599 .
- name: Save lychee cache
if: always()
uses: actions/cache/save@v4
with:
path: .lycheecache
key: ${{ steps.cache-restore.outputs.cache-primary-key }}