From bb9b9ec34f96690628925b8e91d5b43dee24b9cc Mon Sep 17 00:00:00 2001 From: Armin Becher Date: Fri, 14 Oct 2022 08:17:57 +0200 Subject: [PATCH] Add link checker to detect broken links (#18) 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. --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d15e49e --- /dev/null +++ b/.github/workflows/ci.yml @@ -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