ci: use tcort/github-action-markdown-link-check#2297
ci: use tcort/github-action-markdown-link-check#2297nschonni wants to merge 3 commits intonodejs:mainfrom
Conversation
|
@MikeMcC399 if you want to adopt these changes into your own PR it can land instead. I was just playing around to see about a minimal change, plus remembering that there was an "official" GitHub Action for that tool now |
|
This PR is addressing some different goals from #2296. DomainsI've described in #2296 (comment) why there are three domains that need exceptions adding. Migration from http to httpsI submitted PR #2298 for this enhancement. I felt it was cleaner to keep this change separate. Migration to tcort/github-action-markdown-link-check actionRegarding the proposal to migrate from the npm package markdown-link-check to the GitHub Action tcort/github-action-markdown-link-check, I have several misgivings. The action tcort/github-action-markdown-link-check appears to be based on using an EOL Docker version
The repo has a low level of activity and does not track releases of markdown-link-check one-for-one. The lack of issues and PRs in the repo https://github.com/tcort/github-action-markdown-link-check suggests that it is not widely used. Given that the npm package markdown-link-check has a history of releases with major shortcomings, and slow response to issues, I would recommend sticking with the npm package so that exact releases can be selected. Even if this means that Dependabot won't be able to update it. Before manually updating the package it would be worthwhile checking on open issues in the markdown-link-check repo. A couple of examples of serious issues that were released and that have since been fixed:
It may be worthwhile submitting an issue / PR to tcort/github-action-markdown-link-check to get the base Docker image updated to a supported version. Given the impending transition of Node.js 24 to LTS, that would probably be the best target version after waiting for the LTS transition. |
|
Also it appears that the verbose mode does not live up to how I understand the documentation description:
|
|
Good point around the Dockerfile. I've opened up tcort/github-action-markdown-link-check#3 to see if it should get converted. |

Description
Change the remaining HTTP links to HTTPS and use the upstream markdown-link-check GitHub Action that Dependabot can update
Motivation and Context
Alternate take on #2296 to not ignore some of the domains.
Testing Details
Locally I was still getting a 403 for the npmjs.com link, so there might still need to be an ignore for that.
Example Output(if appropriate)
Types of changes
Checklist