]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/checkdocs: change markdown link checker to linkspector
authorDaniel Stenberg <daniel@haxx.se>
Wed, 11 Dec 2024 10:26:13 +0000 (11:26 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 11 Dec 2024 12:05:11 +0000 (13:05 +0100)
Fixes #15717
Closes #15719

.github/workflows/checkdocs.yml

index 81cc5ca6979f1ee8dfdcb8326dec43c06c034e8d..7484f74ec34c9a3e4fea88c0395537a6af0744df 100644 (file)
@@ -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