Migrate link checking to lychee - #304
Merged
Merged
Conversation
Parallel Rust checker: full run takes ~3s instead of 6-7 minutes. Browser-like User-Agent cuts down bot-blocking false positives. All ignorePatterns from mlc_config.json carried over to lychee.toml, plus facebook.com, aplikacja.ceidg.gov.pl and pz.gov.pl which reject non-browser clients (400/403/426). Results cached for a day via actions/cache.
…ners Also point the FAQ link at the redirect target and drop the utm junk.
…sets non-browser TLS clients Other gov.pl subdomains (biznes, podatki, zus...) check fine and stay covered.
…nks fail with 404/DNS errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces
tcort/github-action-markdown-link-checkwithlycheeverse/lychee-action.Why: the old checker runs files sequentially with no concurrency option — 6–7 min per run — and its default HTTP client trips bot protection (today it took three whack-a-mole ignore commits to get PR #303 green).
What changed:
.github/workflows/markdown_link_check.yml→ lychee-action@v2, job name kept asmarkdown-link-check. Results cached via actions/cache (--max-cache-age 1d),GITHUB_TOKENpassed to avoid github.com rate limits.mlc_config.json→lychee.toml: all ignorePatterns carried over; browser-like User-Agent;accept = 200..=204as before.Local run: 1851 links (796 unique) checked in ~3.2s, 0 errors.
.github/workflows/— must be merged locally (rebase + fast-forward),gh pr mergewill fail due to missing workflow scope.