-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
link-checker: exclude private URLs like localhost #306
Conversation
Oh weird, lychee.toml also includes this option already. Is lychee.toml actually used by the GH Action? |
I had a look at the github action code and I think it should do that. |
Perhaps it doesn't recognize |
Would it make sense to enable the link-checker.yml action on the branch of this pull request to see if it actually solves the issue? |
1a1e74a
to
376cbb5
Compare
Can't seem to get it to work on CI... I've also tried some localhost things on my laptop, with different ports, https/http, etc., but lychee always seems to fail on localhost, even if the Guide is hosted on localhost, kinda weird. However, |
Oh, I think the issue is that the lychee action has a default value for the |
376cbb5
to
6bc1dc0
Compare
Force push with another fix to the check... |
Ok, so apparently the config file is not read, because adding |
6bc1dc0
to
fb49026
Compare
Aha, |
Fixed! The problem was that the lychee.toml syntax was changed, I think, since we added the file. Anyway, it works now, I will make a new commit... |
4051326
to
053a0c8
Compare
Removed the unnecessary commits, now only the lychee.toml fix remains (which was effectively already the case after the 4051326 commit, which undid all the others). |
Please review @bouweandela |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Below, describe what this Pull Request adds:
One of the links that failed the link-checker are a localhost reference. Links like that should never be checked and lychee has an option for that. This PR adds that option.