Add link checker to detect broken links

Just a suggestion, the link checker would detect broken links via github action. 

Might be helpful for a repo which consists a lot of markdown files.
This commit is contained in:
Armin Becher 2022-08-23 22:56:32 +02:00 committed by GitHub
parent ea39719244
commit 8b6e2e320a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

18
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Markup Link Checker (mlc)
uses: becheran/mlc@v0.15.4
with:
args: --no-web-links