github-action-markdown-link-check
github-action-markdown-link-check copied to clipboard
incorrect 403 status
Hi, I tried setting up your tool on our repo, but it is incorrectly flagging a link as dead:
ERROR: 1 dead links found! [✖] https://opensource.org/license/apache-2-0/ → Status: 403
have I set it up wrong or is this a bug or some other issue?
same issue here
@DaniBodor: you can fix it by adding 403
to aliveStatusCodes in your config
I ended up fixing it by adding the site to the ignorePatterns list.
This website is behind Cloudflare, see https://developers.cloudflare.com/support/troubleshooting/http-status-codes/4xx-client-error/#403-forbiddenrfc7231httpstoolsietforghtmlrfc7231.
same here, All website hehind Cloudflare is getting 403 response.
Maybe we can make a DNS query to detect if a site is using Cloudflare or not.
Update: I have stopped working on this action. Please try https://github.com/UmbrellaDocs/linkspector and https://github.com/UmbrellaDocs/action-linkspector instead.