Skip to content

✅ Lychee

✅ Lychee #716

Workflow file for this run

---
name: "✅ Lychee"
on:
repository_dispatch:
workflow_dispatch:
workflow_call:
schedule:
- cron: "00 18 * * *"
push:
branches: [main]
paths:
- "public/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- name: "📤 Restore cache"
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
restore-keys: cache-lychee-
- name: "📊 Lychee Link Checker"
id: lychee
uses: lycheeverse/lychee-action@2b973e86fc7b1f6b36a93795fe2c9c6ae1118621
with:
args: --config $CONFIG_FILE --base . --verbose --no-progress './public/arf.json'
format: markdown
output: ./docs/LINKS_REPORT.md
fail: false
jobSummary: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: ${{ github.workspace }}/.github/lychee.toml
- name: "🔖 Create Issue From File"
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@24452a72d85239eacf1468b0f1982a9f3fec4c94 # v5
with:
title: Link Checker Report
content-filepath: ./docs/LINKS_REPORT.md
issue-number: 49
labels: report, automated issue