Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Unable to download release assets from private GitHub repositories #5357

Closed
jeppefrandsen opened this issue Jan 26, 2023 · 1 comment · Fixed by #5424
Closed

[Bug] Unable to download release assets from private GitHub repositories #5357

jeppefrandsen opened this issue Jan 26, 2023 · 1 comment · Fixed by #5424
Labels

Comments

@jeppefrandsen
Copy link
Contributor

jeppefrandsen commented Jan 26, 2023

Bug Report

GitHub has changed the required API headers lately causing download of release assets from private GitHub repositories not to work. See https://docs.github.com/en/rest/releases/assets?apiVersion=2022-11-28

Current Behavior

Download of release assets from private GitHub repositories does not work

Expected Behavior

Download works

Possible Solution

A small fix can be found here: https://github.com/polytech-com/Scoop/commit/e3d4113a83a048c68418b55f6087c20b4ac8b20c. Can do a PR when discussed.

System details

Windows version: 11

OS architecture: arm64

PowerShell version:

$($PSVersionTable.PSVersion)

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      22000  1335

Additional software: git

Scoop Configuration

{
    "last_update":  "2023-01-26T07:36:02.8236585+01:00",
    "use_external_7zip":  false,
    "gh_token":  "ghp_xxxxxxxx",
    "scoop_branch":  "master",
    "scoop_repo":  "https://github.com/ScoopInstaller/Scoop"
}
@rashil2000
Copy link
Member

Please make a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants