Skip to content

Commit b475c71

Browse files
authored
Update broken-links.yml
1 parent 1a74d00 commit b475c71

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/broken-links.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,28 @@ jobs:
1818
with:
1919
node-version: '18'
2020

21+
- name: Create markdown-link-check config
22+
run: |
23+
cat <<EOT > .markdown-link-check.json
24+
{
25+
"ignorePatterns": [
26+
{
27+
"pattern": "./Assets/*"
28+
},
29+
{
30+
"pattern": "./assets/*"
31+
}
32+
]
33+
}
34+
EOT
35+
2136
- name: Install markdown-link-check
2237
run: npm install -g markdown-link-check
2338

2439
- name: Check README links
2540
id: check-links
2641
run: |
27-
markdown-link-check --verbose README.md > link-check-results.txt || true
42+
markdown-link-check --config .markdown-link-check.json --verbose README.md > link-check-results.txt || true
2843
echo "::group::Link Check Results"
2944
cat link-check-results.txt
3045
echo "::endgroup::"

0 commit comments

Comments
 (0)