Skip to content

Fix link checking#1714

Merged
pzaichkina merged 2 commits into
codatio:mainfrom
mcclowes:feat/link-checking
Dec 15, 2025
Merged

Fix link checking#1714
pzaichkina merged 2 commits into
codatio:mainfrom
mcclowes:feat/link-checking

Conversation

@mcclowes
Copy link
Copy Markdown
Contributor

@mcclowes mcclowes commented Dec 15, 2025

@pzaichkina I think this fixes the link checking failures?
Also, added a way of link checking from the CLI (linknator, which we used to use too)


Note

Updates the link-check GitHub Action to run Linkinator against Vercel preview deployments and comment filtered results, and adds a links:check npm script with linkinator as a dev dependency.

  • CI/CD:
    • Overhauls /.github/workflows/check-links.yml to use linkinator against Vercel preview URLs (with API lookup and fallback), or https://docs.codat.io on manual runs.
    • Adds workflow permissions for contents, pull-requests, and issues.
    • Sets up Node 20, installs linkinator, runs with recurse/skip/timeouts, and continues on error while failing the job if filtered broken links remain.
    • Deletes previous bot comments and posts a single comment summarizing results (filters out 403, 500, and 0).
  • NPM:
    • Adds linkinator to devDependencies and a links:check script: linkinator ./build --recurse --verbosity error --skip ".*github.*|.*localhost.*".

Written by Cursor Bugbot for commit 5459cdf. This will update automatically on new commits. Configure here.

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 15, 2025

@mcclowes is attempting to deploy a commit to the Codat Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 15, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
codat-docs Ready Ready Preview, Comment Dec 15, 2025 4:52pm

@pzaichkina pzaichkina enabled auto-merge December 15, 2025 17:28
@pzaichkina pzaichkina merged commit afbbda9 into codatio:main Dec 15, 2025
0 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants