From 8b6e2e320a0f2d472a8cb0f2993f2b4694cb54c5 Mon Sep 17 00:00:00 2001 From: Armin Becher Date: Tue, 23 Aug 2022 22:56:32 +0200 Subject: [PATCH] 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. --- .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