Repository navigation
Add GitHub action to check links with Lychee - #5965
Conversation
- Introduce 'link_check' workflow to automatically verify links in source code, Markdown files and package.json.
|
@codex review /gemini review |
|
To use Codex here, create a Codex account and connect to github. |
|
@DanTup could you review this one please? |
DanTup
left a comment
There was a problem hiding this comment.
Thank you for looking at this!
I've added some feedback below. I also see there are some failures currently picked up, I'll take a scan through them and fix them or determine if they need to be excluded somehow.
|
@Peter080202 I've pushed some changes to master that fix some of the failures, but there are two remaining that are URLs with variables in them:
I think maybe they could be handled with something like |
eefad3d to
c2c06db
Compare
|
Thanks! Looks like it's still complaining about this: I'm not sure why, the regex looks reasonable to me. If you don't want to spend more time on this, I'm happy to debug it further later or tomorrow :-) Thanks again! |
There was a problem hiding this comment.
Pull request overview
Adds automated link validation to the repository’s CI by introducing a new link_check job in the main build-and-test workflow, aligning with the request to detect broken links in code and metadata over time.
Changes:
- Added a new
link_checkGitHub Actions job that runs Lychee againstsrc/**/*.ts, top-level Markdown,.licensefiles, andpackage.json. - Configured Lychee with exclusions intended to skip private and file links.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c2c06db127
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
3c8c849 to
cd841dc
Compare
|
@DanTup it should work now 🤞 |
|
🎉 | Status | Count |
|----------------|-------|
| 🔍 Total | 119 |
| ✅ Successful | 96 |
| ⏳ Timeouts | 0 |
| 🔀 Redirected | 16 |
| 👻 Excluded | 5 |
| ❓ Unknown | 0 |
| 🚫 Errors | 0 |
| ⛔ Unsupported | 2 | |
|
@Peter080202 perfect, thank you! |
Description
Introduced
link_checkworkflow to automatically verify links in source code, Markdown files and package.json.Issue link: #4617