Skip to content

feat: add CI workflow to check for broken links#676

Merged
tchaton merged 7 commits into
Lightning-AI:mainfrom
Vimal-Shady:Broken_Link_Fix
Aug 7, 2025
Merged

feat: add CI workflow to check for broken links#676
tchaton merged 7 commits into
Lightning-AI:mainfrom
Vimal-Shady:Broken_Link_Fix

Conversation

@Vimal-Shady
Copy link
Copy Markdown
Contributor

Before submitting

What does this PR do?

  • Adds a GitHub Actions workflow to automatically check for broken Markdown links
    • File: .github/workflows/ci-check-md-links.yml
    • Uses: Lightning-AI/utilities/.github/workflows/check-md-links.yml@main
  • Adds a config file:
    • .github/markdown-links-config.json
    • Ignores localhost/example URLs and sets retry behavior

PR review

This PR adds CI support only, no application logic is changed.
Community members are welcome to review once the checks pass.

Did you have fun?

Yes! Happy to help improve CI and prevent future broken links 🙌

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84%. Comparing base (9eff5cc) to head (761f16e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #676   +/-   ##
===================================
  Coverage    84%    84%           
===================================
  Files        52     52           
  Lines      7144   7144           
===================================
  Hits       5966   5966           
  Misses     1178   1178           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bhimrazy
Copy link
Copy Markdown
Collaborator

bhimrazy commented Aug 6, 2025

Thanks @Vimal-Shady for the PR!

It seems like it's currently marking all the links as dead. Maybe we need to add and try with a config similar to this one.

Comment thread .github/markdown-links-config.json
Comment thread .github/workflows/ci-check-md-links.yml Outdated
@deependujha deependujha changed the title Broken link fix feat: add CI workflow to check for broken links Aug 7, 2025
@deependujha deependujha requested review from Borda and bhimrazy August 7, 2025 08:18
Comment thread .github/markdown-links-config.json Outdated
Co-authored-by: Bhimraj Yadav <bhimrajyadav977@gmail.com>
Copy link
Copy Markdown
Collaborator

@tchaton tchaton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice !

@tchaton tchaton merged commit 5ac0863 into Lightning-AI:main Aug 7, 2025
36 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.

5 participants