Skip to content

CI(link-rot): exclude content/_external from the weekly scan - #66

Merged
rivassec merged 1 commit into
mainfrom
linkrot-exclude-external
Sep 12, 2026
Merged

rivassec merged 1 commit into
mainfrom
linkrot-exclude-external

Conversation

@rivassec

Copy link
Copy Markdown
Owner

First-week tuning for the weekly link-rot workflow (#58), surfaced by a full local re-run of every guard against current main.

content/_external/elasticsearch-tools/README.md is a vendored external repo README - excluded from the site build via ARTICLE_EXCLUDES, but not from the weekly scan's glob. Its repo-relative links (/LICENSE, /tools/snapshot-verifier/) resolve against --base-url https://rivassec.com and report false 404s.

Fix: --exclude-path content/_external, mirroring how deploy's lychee excludes non-site paths.

Verified locally: weekly-mode scan now 135 Total | 0 Errors; deploy-mode scan on built HTML unaffected (5799 links, 0 errors).

Vendored external READMEs are not site content (ARTICLE_EXCLUDES skips
them at build) and their repo-relative links (/LICENSE) resolve as
false 404s against --base-url. First-week allowlist tuning, as
predicted in #58.
@rivassec
rivassec merged commit ae8bdd9 into main Sep 12, 2026
17 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.

1 participant