Skip to content

Commit dc3c50b

Browse files
committed
Fix GitHub link checks for MD files.
1 parent dcb6e12 commit dc3c50b

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/check-md-links.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"httpHeaders": [
3+
{
4+
"urls": ["https://github.com/", "https://guides.github.com/", "https://help.github.com/", "https://docs.github.com/"],
5+
"headers": {
6+
"Accept-Encoding": "zstd, br, gzip, deflate"
7+
}
8+
}
9+
]
10+
}

.github/workflows/check-md-links.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Check Markdown links
1+
name: 'Check Markdown links'
22

33
on: push
44

@@ -10,3 +10,4 @@ jobs:
1010
- uses: gaurav-nelson/github-action-markdown-link-check@v1
1111
with:
1212
check-modified-files-only: 'no'
13+
config-file: '.github/check-md-links.json'

0 commit comments

Comments
 (0)