Skip to content

fix: add --root-dir for lychee-action v2.8.0 root-relative link resolution#2444

Merged
commjoen merged 2 commits intorenovate/lycheeverse-lychee-action-2.xfrom
copilot/sub-pr-2422
Mar 8, 2026
Merged

fix: add --root-dir for lychee-action v2.8.0 root-relative link resolution#2444
commjoen merged 2 commits intorenovate/lycheeverse-lychee-action-2.xfrom
copilot/sub-pr-2422

Conversation

Copy link
Contributor

Copilot AI commented Mar 8, 2026

Lychee v0.23.0 (bundled with lychee-action v2.8.0) now errors on root-relative links in local files unless --root-dir is explicitly provided, breaking the link checker CI.

Change

Added --root-dir . to the lychee args in link_checker.yml:

args: --exclude-all-private --exclude-path "src/main/resources/templates/about.html" --exclude-path ".lycheeignore" --root-dir . -r 2 './**/*.md' './**/*.html'

Previously, links like /Dockerfile, /k8s/, /about in local markdown/HTML files would silently pass. Now lychee requires a root dir to resolve them, producing 30 errors across files including README.md, ctf-instructions.md, and several HTML templates.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: commjoen <1457214+commjoen@users.noreply.github.com>
Copilot AI changed the title [WIP] Update lycheeverse/lychee-action action to v2.8.0 fix: add --root-dir for lychee-action v2.8.0 root-relative link resolution Mar 8, 2026
@commjoen commjoen marked this pull request as ready for review March 8, 2026 18:55
@commjoen commjoen merged commit c9c5a31 into renovate/lycheeverse-lychee-action-2.x Mar 8, 2026
@commjoen commjoen deleted the copilot/sub-pr-2422 branch March 8, 2026 18:55
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.

2 participants