From a8397643f3342d56e5e6f31acb8ac05fd63915d3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 11 Dec 2024 11:26:13 +0100 Subject: [PATCH] GHA/checkdocs: change markdown link checker to linkspector Fixes #15717 Closes #15719 --- .github/workflows/checkdocs.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checkdocs.yml b/.github/workflows/checkdocs.yml index 81cc5ca697..7484f74ec3 100644 --- a/.github/workflows/checkdocs.yml +++ b/.github/workflows/checkdocs.yml @@ -85,7 +85,7 @@ jobs: # - name: check special prose # run: proselint docs/internals/CHECKSRC.md docs/libcurl/curl_mprintf.md docs/libcurl/opts/CURLOPT_INTERFACE.md docs/cmdline-opts/interface.md - # Docs: https://github.com/marketplace/actions/markdown-link-check + # Docs: https://github.com/UmbrellaDocs/action-linkspector linkcheck: runs-on: ubuntu-latest steps: @@ -95,9 +95,12 @@ jobs: - name: trim the cmdline docs markdown files run: find docs/cmdline-opts -name "*.md" ! -name "_*" ! -name MANPAGE.md -print0 | xargs -0 -n1 .github/scripts/cleancmd.pl - - uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1 + - name: Run linkspector + uses: umbrelladocs/action-linkspector@v1 with: - use-quiet-mode: 'yes' + github_token: ${{ secrets.github_token }} + reporter: github-pr-review + fail_on_error: true spellcheck: runs-on: ubuntu-latest -- 2.47.3