Skip to content

Commit 10d4b7c

Browse files
authored
[docs] use GITHUB_TOKEN when downloading from GitHub (#4008)
1 parent d790a29 commit 10d4b7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/make.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ for (solver, data) in TOML.parsefile(joinpath(@__DIR__, "packages.toml"))
165165
out_filename = joinpath(@__DIR__, "src", "packages", "$solver.md")
166166
Downloads.download(
167167
"https://raw.githubusercontent.com/$user/$solver.jl/$tag/$filename",
168-
out_filename,
168+
out_filename;
169+
headers = Dict("Authorization" => "token " * ENV["GITHUB_TOKEN"]),
169170
)
170171
_add_edit_url(
171172
out_filename,

0 commit comments

Comments
 (0)