-
Notifications
You must be signed in to change notification settings - Fork 358
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
Add CI job for finding invalid links in markdown files #1244
Conversation
@adizere hey. I created the CI. but it seems, many of the tests failed because Github started sending 429 for too many requests. looks like, I have to create a config file. any idea where I should put it? ref. https://github.com/marketplace/actions/markdown-link-check#too-many-requests |
I would put it somewhere in the |
Many thanks Rano! +1 for Romain's suggestion! I took the liberty to try and see if it works with the config file (8ee6d44), but seems there are still failures. Weird enough the failures appear for crates.io website (which works). Not sure how to fix it, a debugging ideas would be to use the variables:
Any thoughts @rnbguy? |
Yeah I noticed that about crates.io in first commit too. They are probably blocking the requests too. Add an |
The CI is in better shape now. The errors seem to be genuine. I fixed some of them. Currently, there are 3 links that are failing. |
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.
This was very helpful, cool work Rano!
* Added markdown-link-check * Update changelog * Added config file * Added ignore pattern for crates.io, simplified output * Added ignore pattern for localhost * Fix ignore patterns in markdown-link-check config * Better Github relative link for directory * Fix Github relative links within the project * Fixed two broken links * Fixed last broken link * Reverted changelog * Removed pending changelog file Co-authored-by: Adi Seredinschi <adi@informal.systems>
* Fix for regression #1229 using new type ics02::TrustThreshold * Cleanup * changelog * Apply suggestions from code review Co-authored-by: Romain Ruetschi <romain@informal.systems> * Add CI job for finding invalid links in markdown files (#1244) * Added markdown-link-check * Update changelog * Added config file * Added ignore pattern for crates.io, simplified output * Added ignore pattern for localhost * Fix ignore patterns in markdown-link-check config * Better Github relative link for directory * Fix Github relative links within the project * Fixed two broken links * Fixed last broken link * Reverted changelog * Removed pending changelog file Co-authored-by: Adi Seredinschi <adi@informal.systems> Co-authored-by: Romain Ruetschi <romain@informal.systems> Co-authored-by: Ranadeep Biswas <ranadeep@informal.systems>
…ms#1244) * Added markdown-link-check * Update changelog * Added config file * Added ignore pattern for crates.io, simplified output * Added ignore pattern for localhost * Fix ignore patterns in markdown-link-check config * Better Github relative link for directory * Fix Github relative links within the project * Fixed two broken links * Fixed last broken link * Reverted changelog * Removed pending changelog file Co-authored-by: Adi Seredinschi <adi@informal.systems>
…reshold (informalsystems#1254) * Fix for regression informalsystems#1229 using new type ics02::TrustThreshold * Cleanup * changelog * Apply suggestions from code review Co-authored-by: Romain Ruetschi <romain@informal.systems> * Add CI job for finding invalid links in markdown files (informalsystems#1244) * Added markdown-link-check * Update changelog * Added config file * Added ignore pattern for crates.io, simplified output * Added ignore pattern for localhost * Fix ignore patterns in markdown-link-check config * Better Github relative link for directory * Fix Github relative links within the project * Fixed two broken links * Fixed last broken link * Reverted changelog * Removed pending changelog file Co-authored-by: Adi Seredinschi <adi@informal.systems> Co-authored-by: Romain Ruetschi <romain@informal.systems> Co-authored-by: Ranadeep Biswas <ranadeep@informal.systems>
Closes: Broken Markdown links
Description
Adds CI for finding invalid links in markdown files.
For contributor use:
unclog
.docs/
) and code comments.Files changed
in the Github PR explorer.