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

[Feature] Add a broken link checker to the CI/CD pipeline #1521

Open
1 task done
p2635 opened this issue Feb 28, 2023 · 5 comments
Open
1 task done

[Feature] Add a broken link checker to the CI/CD pipeline #1521

p2635 opened this issue Feb 28, 2023 · 5 comments
Labels
feature Adds new functionality to the site. help wanted Issues the team would like assistince with.

Comments

@p2635
Copy link
Contributor

p2635 commented Feb 28, 2023

Thank you for suggesting a feature. Please fill out the following information:

Feature suggestion

Relates to my #1478 (comment). Potentially implement something like https://github.com/marketplace/actions/broken-link-checker-action to improve the process.

Terms

@p2635 p2635 added the feature Adds new functionality to the site. label Feb 28, 2023
@ericwbailey ericwbailey added the help wanted Issues the team would like assistince with. label Mar 2, 2023
@hectorcoronado
Copy link

👋🏻 @ericwbailey @p2635! Y'all still need help with this? Happy to take this issue if so

@SaptakS
Copy link
Member

SaptakS commented Apr 14, 2023

I think it might be good to have a broken link checker. Probably once per month, or once in 6 months. I am curious if it creates one issue with all the broken link results or multiple? It might become a little spammy if it creates multiple issues. Also, the github repo for the above github action seems to have been archived and not maintained anymore. I personally would prefer something which is better maintained and not archived.

@p2635
Copy link
Contributor Author

p2635 commented Feb 7, 2024

I was looking around and this link checker seems superior to a lot of the others: https://github.com/lycheeverse/lychee.

@p2635
Copy link
Contributor Author

p2635 commented Feb 8, 2024

I forked the a11y project and created an action for it, here is an example after an issue is automatically created: p2635#1. The action can be configured to run on a cron job, so that suits your requirements for once per month or once every 6 months @SaptakS. I noticed sometimes there are false positives though like https://midnight-lizard.org/home... more to be investigated.

@SaptakS
Copy link
Member

SaptakS commented Feb 8, 2024

The false positives are definitely little concerning. Also, is the content of the automated issue created customisable? And can it also check that if there already exists an issue from before with the broken links?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adds new functionality to the site. help wanted Issues the team would like assistince with.
Projects
None yet
Development

No branches or pull requests

4 participants