meysamhadeli / awesome-dotnet-tips

A curated list of awesome tips and tricks, resources, videos and articles in .net, software architecture, microservice and cloud-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(GitHub) Action against dead links

ndsvw opened this issue · comments

commented

Hi,

This repository contains hundreds or even thousands of hyperlinks.
It's pretty normal that not all of them will be active/accessible forever.

A first step against too many broken/dead links in this repository could be: finding out which ones are dead.

I'd suggest adding the GitHub workflow "github-action-markdown-link-check" and execute it periodically (e.g. once a week).

I've done that in my fork: https://github.com/ndsvw/awesome-dotnet-tips/runs/5343165195?check_suite_focus=true
It finds all the links, makes a request and lists the ones that are dead:

...
2 links checked.

FILE: ./architectural-patterns/microservices/outbox-pattern.md

9 links checked.

FILE: ./architectural-patterns/microservices/communication.md

15 links checked.

FILE: ./architectural-patterns/micro-kernel.md

1 links checked.

FILE: ./architectural-patterns/event-sourcing.md
[✖] https://github.com/eraydin/ddd-and-eventsourcing-example → Status: 404
[✖] https://github.com/oskardudycz/EventSourcing.NetCore/tree/main/Sample/BankAccounts → Status: 404
[✖] https://github.com/oskardudycz/EventSourcing.NetCore/tree/cqrs_with_net5/Sample/Warehouse → Status: 404

...

@meysamhadeli I'd create a pull request if you want me to.

Hi.
Thank you for your useful tip and I will try to use it. You can send a pull request for it.