Skip to content

fix(config): store one key per normalized slug, closing a fifth sanitize hole #77

fix(config): store one key per normalized slug, closing a fifth sanitize hole

fix(config): store one key per normalized slug, closing a fifth sanitize hole #77

Workflow file for this run

name: Documentation Links
# Validates that links in the README, readme.txt, and docs resolve — including the
# WordPress Playground demo links (playground.wordpress.net/?blueprint-url=…) and the
# raw blueprint URLs they point at. Catches a broken "Try it live" demo in CI instead
# of by hand.
on:
push:
branches: [main]
paths:
- 'docs/**'
- '*.md'
- 'readme.txt'
- '.github/workflows/docs-links.yml'
- '.lycheeignore'
pull_request:
paths:
- 'docs/**'
- '*.md'
- 'readme.txt'
- '.github/workflows/docs-links.yml'
- '.lycheeignore'
permissions:
contents: read
jobs:
link-check:
name: Markdown link and anchor check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Run lychee link checker
uses: lycheeverse/lychee-action@v2
with:
args: >-
--verbose
--no-progress
--accept '200,202,206,403,429'
--exclude 'www\.gnu\.org'
--max-retries 2
--timeout 20
--cache
'docs/**/*.md'
'*.md'
'readme.txt'
fail: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}