Skip to content

ci: add external link check (lychee, hybrid non-blocking)#44

Merged
kingchenc merged 1 commit into
mainfrom
ci/link-check
Jun 22, 2026
Merged

ci: add external link check (lychee, hybrid non-blocking)#44
kingchenc merged 1 commit into
mainfrom
ci/link-check

Conversation

@kingchenc

Copy link
Copy Markdown
Contributor

Adds external link-rot checking to the org .github repo, matching wickra-docs/wickra/webpage in a hybrid, non-blocking shape.

What

  • .github/workflows/links.yml — lychee on a weekly schedule + workflow_dispatch (blocking on hard errors), and on pull_request as a non-blocking heads-up (fail: ${{ github.event_name != 'pull_request' }}).
  • lychee.tomlaccept = [200, 206, 429]; excludes the anti-bot registries (crates.io, npmjs).

Verification (lychee 0.23.0 locally, same args)

46 total · 40 OK · 0 errors · 3 excluded · 3 redirectsexit 0 (green). The 3 redirects are benign warnings (codecov → app.codecov, bestpractices.dev localization, license-text constants) and never fail the check.

Scope: *.md + profile/*.md.

Adds lychee link-rot checking to the org profile repo: authoritative on a
weekly schedule + on demand (blocking on hard errors), and a non-blocking run
on PRs (fail: false) so a flaky third-party site never gates a merge.
@kingchenc kingchenc merged commit 7f2d94b into main Jun 22, 2026
3 checks passed
@kingchenc kingchenc deleted the ci/link-check branch June 22, 2026 13:59
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.

1 participant