Skip to content

Check for broken links #3

Check for broken links

Check for broken links #3

Workflow file for this run

name: Check for broken links
on:
schedule:
- cron: '0 9 * * 1' # Every Monday at 9am UTC
workflow_dispatch: # Allow manual runs
jobs:
link-check:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/checkout@v4
- name: Check links in markdown files
uses: lycheeverse/lychee-action@v2
with:
args: >-
--verbose
--no-progress
--timeout 30
--max-retries 3
--exclude-mail
'**/*.md'
fail: false
output: /tmp/lychee-report.md
- name: Open issue if broken links found
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v5
with:
title: "Broken links found in skill files"
content-filepath: /tmp/lychee-report.md
labels: documentation