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
b5eae12f0c
commit
dd809b08cd
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue