We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c166632 commit 566124fCopy full SHA for 566124f
.github/workflows/ci.yml
@@ -20,6 +20,7 @@ jobs:
20
MDBOOK_TOC_VERSION: 0.9.0
21
DEPLOY_DIR: book/html
22
BASE_SHA: ${{ github.event.pull_request.base.sha }}
23
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24
steps:
25
- uses: actions/checkout@v3
26
with:
book.toml
@@ -40,6 +40,9 @@ exclude = [
40
cache-timeout = 86400
41
warning-policy = "error"
42
43
+[output.linkcheck.http-headers]
44
+'github\.com' = ["Accept: application/vnd.github+json", "Authorization: Bearer $GITHUB_TOKEN"]
45
+
46
[output.html.redirect]
47
"/compiletest.html" = "tests/compiletest.html"
48
"/diagnostics/sessiondiagnostic.html" = "diagnostics/diagnostic-structs.html"
0 commit comments