Skip to content

Markdown Link Check #91

Markdown Link Check

Markdown Link Check #91

Workflow file for this run

name: Markdown Link Check
on:
workflow_dispatch:
schedule:
- cron: '15 3 * * 1' # Mondays 03:15 UTC
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lychee:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
- name: Install lychee (link checker)
id: lychee
uses: lycheeverse/lychee-action@2b973e8092c16d8baeba8ecb7d20a62118b02d65 # v1.10.0
with:
args: --config .lychee.toml "README.md" "docs/**/*.md"
fail: true
- name: Create issue on failure
if: failure()
uses: peter-evans/create-issue-from-file@e8ef13276a1b9a863a3d917b4f95b52528610c54 # v5.0.1
with:
title: "Markdown Link Check failures"
content-filepath: ./lychee/out.md
labels: docs, link-check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}