Skip to content

Markdown Link Check Job Fails #540

@CMNatic

Description

@CMNatic

Describe the bug
The markdown-link-check job fails because it is false-flagging the following URLS as 404. For example: https://github.com/RustScan/RustScan/actions/runs/8303741977/job/22728380037

[✖] https://github.com/RustScan/RustScan/workflows/Continuous%20integration/badge.svg?branch=master → Status: 404
[✖] https://crates.io/crates/rustscan/ → Status: 404
[✖] https://bees.substack.com/p/making-hacking-accessible

This seems to be a known thing:

  1. Getting 404 for links that certainly work gaurav-nelson/github-action-markdown-link-check#102
  2. 403 for github.com because it blocks requests without --compressed curl flag tcort/markdown-link-check#201 (comment)
  3. some specific links are marked as dead gaurav-nelson/github-action-markdown-link-check#169

Intended Solution

  1. Create a mlc_config.json file in the .github/workflows folder
  2. As per tcort, we can add these URLs to be ignored. It's not ideal, but this is a workaround that has been suggested in numerous issues.

The alternative is reconfiguring the workflow to continue-on-error, which is probably the worst of the two

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions