Repository navigation
Conversation
This comment has been minimized.
This comment has been minimized.
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the documentation link-checking workflow.
No open issues 🎉
What changed in this PR
Adds a CI workflow to catch broken documentation links in pull requests and on pushes to main.
Changes:
- Checks links in
README.md,contributing.md,example/README.md, andweb/rollup.config.js. - Excludes generated files and unsupported Dart sources.
- Uses commit-pinned actions and read-only repository permissions.
| File | Description |
|---|---|
.github/workflows/check-links.yml |
Adds automated link checking for four explicitly selected files. |
Review effort: Balanced
Runs docs-link-checker on README.md, contributing.md, example/README.md and web/rollup.config.js for pull requests and pushes to main. CHANGELOG.md and the generated web/index.js are left out. Refs: INTER-2911
JuroUhlar
force-pushed
the
INTER-2911-ci-docs-link-check
branch
from
November 17, 2026 01:21
02e43fe to
fa8af46
Compare
Relative links are checked against the PR's own files, so a move or delete that breaks one fails the PR. pub.dev still renders them as GitHub links via the package's repository field. Refs: INTER-2911
JuroUhlar
marked this pull request as ready for review
November 17, 2026 12:22
Contributor
pnpm exec changesetto create a changeset. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
INTER-2911 | docs-link-checker
Why
Broken links in our docs now fail the PR that introduces or leaves them, instead of being found by readers later.
Things to note
./LICENSEetc.), so the check validates them against the PR's files instead ofmain. pub.dev still renders them as GitHub links via the packagerepositoryfield.CHANGELOG.md(generated) andweb/index.js(generated bundle, its links are copied fromweb/rollup.config.js) are left out..dart.example/web/index.htmlis left out: its only link is an MDN comment from the Flutter template.b8f0822and checkout to the SHA already used inpublish.yaml.Verification
Ran the pinned checker locally on the four files: 73 links checked, 0 to fix, so no baseline file is needed. The workflow run on this PR is not yet verified.
Change outline
One new workflow, runs on pull requests and pushes to
mainwith read-only permissions.