Skip to content

Commit 0e582fd

Browse files
authored
Fix markdown-link-checker workflow (#542)
* Fix markdown-link-checker workflow Added a configuration file that tells MLC to ignore the URLs in .github\workflows\mlc_config.json as MLC is falsely reporting these as dead * Update markdown.yml
1 parent 4c933b3 commit 0e582fd

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/markdown.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ jobs:
1616
- uses: gaurav-nelson/github-action-markdown-link-check@v1
1717
with:
1818
use-quiet-mode: 'yes'
19+
config-file: './.github/workflows/mlc_config.json'

.github/workflows/mlc_config.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"_comment": "Config for markdown-link-check. Resolves issue #540.",
3+
"ignorePatterns": [
4+
{
5+
"pattern": "^https://github.com/RustScan/RustScan/workflows/Continuous%20integration/badge.svg"
6+
},
7+
{
8+
"pattern": "^https://crates.io/crates/rustscan/"
9+
},
10+
{
11+
"pattern": "^https://bees.substack.com/p/making-hacking-accessible"
12+
}
13+
]
14+
}

0 commit comments

Comments
 (0)