From 1ec9ea0cfd6a4bfe027cb710f0867746d266f359 Mon Sep 17 00:00:00 2001 From: Alex Dewar Date: Mon, 20 Jan 2025 08:59:23 +0000 Subject: [PATCH] Switch markdown-link-checker for linkspector --- .github/workflows/check-links.yml | 10 ++++++---- .mlc_config.json | 7 ------- 2 files changed, 6 insertions(+), 11 deletions(-) delete mode 100644 .mlc_config.json diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 24cfafdc8..c679a9770 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -9,11 +9,13 @@ on: jobs: check-links: + name: runner / linkspector runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: gaurav-nelson/github-action-markdown-link-check@v1 + - name: Run linkspector + uses: umbrelladocs/action-linkspector@v1 with: - use-quiet-mode: "yes" - use-verbose-mode: "yes" - config-file: .mlc_config.json + github_token: ${{ secrets.github_token }} + reporter: github-pr-review + fail_on_error: true diff --git a/.mlc_config.json b/.mlc_config.json deleted file mode 100644 index 9c9ff49a3..000000000 --- a/.mlc_config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "ignorePatterns": [ - { - "pattern": "^\\.\\./reference/" - } - ] -}