Skip to content

Lychee-Checker

Lychee-Checker #7

Workflow file for this run

name: Lychee-Checker
on:
schedule:
- cron: "0 0 1 * *"
workflow_dispatch:
jobs:
linkChecker:
name: Lychee Link Checker
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Check Links
id: lychee
uses: lycheeverse/[email protected]
with:
args: --verbose --max-concurrency 32 --timeout 120 --no-progress *.md
- name: Create Issue From File
if: ${{ steps.lychee.outputs.exit_code != 0 }}
uses: peter-evans/create-issue-from-file@v4
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue
- name: Fail if there were link errors
if: ${{ steps.lychee.outputs.exit_code != 0 }}
run: exit ${{ steps.lychee.outputs.exit_code }}