You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The check-links workflow always fail within a PR, when there are new files added, for example, in the assets folder and referenced in the text as links.
The reason is that the link checker's base directory is set to https://access-hive.org.au/:
So, for a link to a file referenced as /assets/path/to/the/file.png, the link checker will search for the address https://access-hive.org.au/assets/path/to/the/file.png.
However, https://access-hive.org.au/ is the main website and if the file was added to a PR, it is still not present in the main website.
This means the link-checker will always fail.
Solution
I don't have an easy fix at the moment.
Maybe we should better check lychee's configuration options, and find a way to differentiate absolute URLs from relative ones.
The text was updated successfully, but these errors were encountered:
Overview
The check-links workflow always fail within a PR, when there are new files added, for example, in the
assets
folder and referenced in the text as links.The reason is that the link checker's base directory is set to
https://access-hive.org.au/
:access-hive.org.au/.github/workflows/lychee-config.toml
Line 32 in 06eb7aa
So, for a link to a file referenced as
/assets/path/to/the/file.png
, the link checker will search for the addresshttps://access-hive.org.au/assets/path/to/the/file.png
.However,
https://access-hive.org.au/
is the main website and if the file was added to a PR, it is still not present in the main website.This means the link-checker will always fail.
Solution
I don't have an easy fix at the moment.
Maybe we should better check lychee's configuration options, and find a way to differentiate absolute URLs from relative ones.
The text was updated successfully, but these errors were encountered: