Repository navigation
Add a link check for markdown files on PRs and weekly - #7
Draft
code-orange-dev wants to merge 2 commits into
Draft
code-orange-dev wants to merge 2 commits into
code-orange-dev wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HDYtJYAjBvHZVSTrLQWEwt
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HDYtJYAjBvHZVSTrLQWEwt
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.
Requested by Code · project thread
Before: broken links were only found by hand (#3, #4 and #5 were all link fixes), and nothing watched the ~20 sibling repos the README points to.
After: every PR that touches a markdown file runs a link check, and the same check runs every Monday at 06:00 UTC so links that rot between PRs get caught. It can also be run by hand from the Actions tab.
How:
.github/workflows/link-check.ymlruns lychee over**/*.md, checking both external URLs and relative file links, with retries and the built-inGITHUB_TOKENto avoid GitHub rate limits..lycheeignoreskips x.com, instagram.com and discord.gg, which block automated requests and would fail every run. A failing scheduled run emails whoever last edited the workflow.🤖 Generated with Claude Code
https://claude.ai/code/session_01HDYtJYAjBvHZVSTrLQWEwt
Generated by Claude Code