Closed
Description
What happened?
Seems to be:
#611
which in theory was fixed by #612 but #612 seems to be missing any code that actually passes the redirect through, only removes it as an option on the primary object.
What is interesting is this used to work (not sure if after #612 ) octokit/octokit.js#1999 but I didn't bisect to figure out what changes stopped it from doing so.
While I could be missing something it looks like we manually build the fetch object, so I don't see how this option would be properly set other than with specifying it (see PR for this).
This specifically breaks the situation where you want to get the download URL for an artifact but not actually download it.
Versions
Octokit/request 8.1.1
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Type
Projects
Status
✅ Done