๐ Action: Link Checker
Maintain a high-quality documentation site by automatically detecting and reporting broken links.
[!TIP] Use the Link Checker as part of your documentation CI to ensure that every link in your
docs/andREADMEsremains valid, preventing the frustration of "404 Not Found" for your users.
๐ Key Impact
- ๐ Comprehensive Scanning: Recursively checks Markdown and HTML files for broken internal and external links.
- ๐ ๏ธ Flexible Filtering: Use glob patterns to focus the scan on specific documentation directories.
- ๐ Failure Guardrails: Configure the action to fail the build if any broken links are detected.
โ๏ธ Configuration
| Input | Required | Default | Description |
|---|---|---|---|
search-path |
No | **/*.md |
Glob pattern to find files to scan. |
fail-on-error |
No | true |
Whether to fail the build on broken links. |
โก Quick Start
- name: ๐ Check Documentation Links
uses: carlos-camara/qa-hub-actions/link-checker@main
with:
search-path: "docs/**/*.md"
[View Full Wiki](https://carlos-camara.github.io/qa-hub-actions/actions/link-checker/)