Skip to content

Commit 2804217

Browse files
authored
Merge pull request #642 from WyriHaximus/create-markdown-link-checker-configuration-file-for-github-docs
Create markdown link checker configuration file to add extra headers for GitHub docs
2 parents 42c85dc + 570b049 commit 2804217

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/markdown-check-links.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v3
1212
- uses: gaurav-nelson/github-action-markdown-link-check@v1
13+
with:
14+
config-file: etc/ci/markdown-link-checker.json

etc/ci/markdown-link-checker.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://docs.github.com/"],
5+
"headers": {
6+
"Accept-Encoding": "zstd, br, gzip, deflate"
7+
}
8+
}
9+
]
10+
}

0 commit comments

Comments
 (0)