Skip to content

Commit

Permalink
chore: remove the auth header from the Azure Blob Storage request
Browse files Browse the repository at this point in the history
https://medium.com/@DiggerHQ/chasing-a-nasty-bug-a-tale-of-excessive-auth-40d8bf5cf192

I think we are running into this issue, where we unnecessarily provide the authorization header to the Azure Blob Storage.

https://www.reddit.com/r/devops/comments/19d1wq8/github_actions_error_downloading_artifact/
  • Loading branch information
Akaame committed Apr 17, 2024
1 parent 4a41820 commit f47cc9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/github-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export async function downloadArtifact(
throw new Error(`Location header has unexpected value: ${url}`)
}

const downloadStream = got.stream(url, {headers})
const downloadStream = got.stream(url)
const fileWriterStream = createWriteStream(fileName)

core.info(`Downloading ${url}`)
Expand Down

0 comments on commit f47cc9c

Please sign in to comment.