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
ran into this as well. looks like linkcheck exiting 1 when there are warnings is the issue. only looked at this for a couple minutes but i dont think you can currently reconcile the GitHub action and ignoring warnings.
pretty sure the move is to use the binary or docker image directly and handle the exit code 1 scenario with some shell.
i think what's needed here is an option to exit 0 when there warnings but no errors.
edit: in my case, all the connection failures were for auto-generated static assets that i didnt need to check so i was able to use a skip-file pattern to work around the issue.
I have a GitHub workflow that is running
linkcheck
to crawl a public site, and it fails pretty regularly with connection failures.I configured the workflow to use the
--connection-failures-as-warnings
, hoping that would suppress errors.It appears to suppress the errors in terms of the statistics, but the workflow still fails when linkcheck runs into connection failures.
Useful details (hopefully?)
The workflow I've configured to call
linkcheck
withconnection-failures-as-warnings
An example of the failing workflow
The output from the failing workflow:
And a screenshot of that because it looks like I can't see details of that workflow in an incognito window, so you probably can't either:
The text was updated successfully, but these errors were encountered: