← 输入框|github.com|刷新
Skip to content

Add a link check for markdown files on PRs and weekly - #7

Draft
code-orange-dev wants to merge 2 commits into
mainfrom
claude/project-thread-cr348r
Draft

code-orange-dev wants to merge 2 commits into
mainfrom
claude/project-thread-cr348r

Conversation

@code-orange-dev

Copy link
Copy Markdown
Owner

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.yml runs lychee over **/*.md, checking both external URLs and relative file links, with retries and the built-in GITHUB_TOKEN to avoid GitHub rate limits. .lycheeignore skips 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

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HDYtJYAjBvHZVSTrLQWEwt
@code-orange-dev code-orange-dev self-assigned this Oct 1, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HDYtJYAjBvHZVSTrLQWEwt
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