Skip to content

ci(docs): add link checker to existing CI to prevent broken docs links#6570

Open
zyzzmohit wants to merge 1 commit intopipe-cd:masterfrom
zyzzmohit:feat/docs-link-checker
Open

ci(docs): add link checker to existing CI to prevent broken docs links#6570
zyzzmohit wants to merge 1 commit intopipe-cd:masterfrom
zyzzmohit:feat/docs-link-checker

Conversation

@zyzzmohit
Copy link

Fixes #6549

Adds a lightweight link-checking step using lychee-action to the existing CI workflow that runs only when docs or README files change. It relies on a custom .lychee.toml configuration to ignore localhost, social networks, active repository edit links, and Hugo's internal relative routing paths to avoid false positives.

The action is pinned to its latest SHA (8646ba30) equivalent to v2.8.0 following the repository's existing security conventions.

Does this PR introduce a user-facing change?:

  • How are users affected by this change: No, this is purely a CI pipeline enhancement for maintainers.
  • Is this breaking change: No.
  • How to migrate (if breaking change): N/A

Signed-off-by: zyzzmohit <mohitray949@gmail.com>
Copy link
Contributor

@Ayushmore1214 Ayushmore1214 left a comment

Choose a reason for hiding this comment

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

Nice work @zyzzmohit Looks good to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci(docs): Add link checker to existing CI to prevent broken docs links

2 participants