Add .md link checker workflow in CI; fix broken links #6
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Documentation" | |
| on: | |
| workflow_call: | |
| pull_request: | |
| paths: | |
| - "**/*.md" | |
| - ".github/workflows/docs.yml" | |
| jobs: | |
| Markdown-Links: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out openvas-scanner | |
| uses: actions/checkout@v6 | |
| - name: Collect Markdown files | |
| run: git ls-files '*.md' ':!.*' > .lychee-markdown-files.txt | |
| - name: Install lychee | |
| run: sudo snap install lychee | |
| - name: Check Markdown links | |
| run: lychee --files-from .lychee-markdown-files.txt --offline --include-fragments --verbose --no-progress |