Skip to content
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

Make the link checking CI more robost #1906

Merged
merged 4 commits into from
Oct 4, 2024
Merged

Make the link checking CI more robost #1906

merged 4 commits into from
Oct 4, 2024

Conversation

joaander
Copy link
Member

@joaander joaander commented Oct 4, 2024

Description

Many sites block GitHub actions servers and/or bots from accessing them. This new lychee configuration allow tests to pass even when the bot gets a 500 internal server error or access denied.

Motivation and context

Even with the error, the fact that it is not a 404 means the link is likely still valid.

How has this been tested?

CI checks and local execution of lychee.

Change log

No log entry necessary.

Checklist:

This should be less prone to false postivie errors. Also allow the use
of lychee locally on the command line.
@joaander joaander merged commit 3e3c85f into trunk-minor Oct 4, 2024
35 checks passed
@joaander joaander deleted the robust-lychee branch October 4, 2024 15:04
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