Do not add accept header on linkcheck
It seems that this header causes "406 Not Acceptable" failures: https://github.com/rust-lang/rustc-dev-guide/actions/runs/4092776683/jobs/7057742900
This commit is contained in:
parent
5471f42f11
commit
a80f180a46
|
|
@ -41,7 +41,7 @@ cache-timeout = 86400
|
|||
warning-policy = "error"
|
||||
|
||||
[output.linkcheck.http-headers]
|
||||
'github\.com' = ["Accept: application/vnd.github+json", "Authorization: Bearer $GITHUB_TOKEN"]
|
||||
'github\.com' = ["Authorization: Bearer $GITHUB_TOKEN"]
|
||||
|
||||
[output.html.redirect]
|
||||
"/compiletest.html" = "tests/compiletest.html"
|
||||
|
|
|
|||
Loading…
Reference in New Issue