Skip to content

ci: add 14 OSS-standard GitHub workflows (valkey reference parity) #2

ci: add 14 OSS-standard GitHub workflows (valkey reference parity)

ci: add 14 OSS-standard GitHub workflows (valkey reference parity) #2

name: Markdown link check
# Catches broken internal anchors, dead external URLs, and stale
# cross-document links. Runs on every Markdown change in a PR plus
# a weekly cron to detect link rot.
on:
pull_request:
branches: [main]
paths:
- "**/*.md"
- ".github/workflows/markdown-link-check.yml"
- ".github/markdown-link-check-config.json"
schedule:
- cron: '37 7 * * 1'
workflow_dispatch:
permissions:
contents: read
jobs:
link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: gaurav-nelson/github-action-markdown-link-check@4a1af151f4d7cf4d8f8ac5780597672a3671b88b # 1.0.17
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
config-file: '.github/markdown-link-check-config.json'
base-branch: 'main'
# Scan every .md file in the repository, not just the
# changed ones. Catches transitive breakage from i18n
# cross-links and ADR-INDEX rows.
check-modified-files-only: 'no'