Skip to content

Links

Links #31

Workflow file for this run

name: Links
# https://github.com/lycheeverse/lychee-action
on:
repository_dispatch:
workflow_dispatch:
# Run on Sunday only
schedule:
- cron: "00 18 * * 6"
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Omit files
run: find platform_versioned_docs -type f \( -name 'README.mdx' -o -name '_todo.mdx' \) -exec rm {} +
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1
# --verbose --no-progress
with:
args: --base . -v -n -s https -s http './**/*.mdx'
- name: Create Issue From File
if: env.lychee_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