Commit 70eaf8e
committed
Configure link check to use Accept-Encoding header for docs.github.com links
The link check job of the "Check Markdown" workflow was subject to frequent intermittent spurious failures in other
repositories, caused by links under the docs.github.com domain returning 403 HTTP status.
Others experiencing the same problem reported that they were able to work around the problem by providing a custom
`Accept-Encoding` HTTP request header. Although I was not able to find any explanation of why, it does resolve the
problem.
Even if this specific project does not contain any links to the problematic domain, this is a standardized configuration
file maintained in a centralized collection of reusable assets which are intended to be applicable to any Arduino
tooling project. So the copies of these assets should be kept in sync with the upstream files, even in cases where the
sync does not provide any immediate benefit to the project.1 parent c8b8f07 commit 70eaf8e
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
2 | 10 | | |
3 | 11 | | |
4 | 12 | | |
| |||
0 commit comments