Open yogan opened 2 months ago
Since the response is 403 forbidden
, I think Reddit is blocking IP addresses from GitHub. One workaround can be adding proxy setting options for Linkspector, but unless users use a paid proxy I am not sure how reliable the results will be.
Ah, I see. For me personally, that is not worth the effort. Feel free to close this issue.
I have disabled checking of Reddit links in GitHub Actions with a separate config file that has an ignore rule:
ignorePatterns:
- pattern: '^https://(old\.|www\.)?reddit\.com'
and a run
step with npx @umbrelladocs/linkspector check --config .linkspector-github.yml
in my workflow yaml.
Locally I can still check everything every now and then. That's good enough.
Describe the bug Checking locally works find, but running in Github Actions leads to a 403.
To Reproduce Example
README.md
:Relevant output from run in GitHub Action:
I thought it might have to do with
old.reddit.com
, but this rewrite rule in.linkspector.yml
did not help:I'm not sure how I can get more details (e.g. headers) to see what is different locally and in GitHub Actions. I'll gladly provide more details if I can get some hints on how to get them.