From 294767e0567c0c47400a007bae35cf13f9508136 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Sat, 25 Mar 2023 15:34:11 +0300 Subject: [PATCH] chore(ci): add an automatic check to verify markdown links. As per #6793, there are multiple broken links in our docs. This action will check if all markdown links are valid. cc: @ammario @bpmct --- .github/workflows/contrib.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/contrib.yaml b/.github/workflows/contrib.yaml index 36a0460fbb..509ce16534 100644 --- a/.github/workflows/contrib.yaml +++ b/.github/workflows/contrib.yaml @@ -58,6 +58,17 @@ jobs: with: requireScope: false + markdown-link-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: gaurav-nelson/github-action-markdown-link-check@v1 + with: + use-quiet-mode: 'yes' + use-verbose-mode: 'yes' + config-file: 'mlc_config.json' + folder-path: 'docs' + release-labels: runs-on: ubuntu-latest # Depend on lint so that title is Conventional Commits-compatible.