From: Daniel Stenberg Date: Wed, 11 Dec 2024 10:26:13 +0000 (+0100) Subject: GHA/checkdocs: change markdown link checker to linkspector X-Git-Tag: curl-8_12_0~369 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8397643f3342d56e5e6f31acb8ac05fd63915d3;p=thirdparty%2Fcurl.git GHA/checkdocs: change markdown link checker to linkspector Fixes #15717 Closes #15719 --- 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