-
Notifications
You must be signed in to change notification settings - Fork 66
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]: Artifact download fails with permission issue #422
Comments
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with |
After some more testing, I managed to narrow the bug's introduction to between |
We switched to using native Your issue may have something to do with that. Can you share a minimal example? |
The issue can be reproduced using this repo, it's about 60 lines of code. After removing the redirect, I can get I also experimented with accessing the backend directly, using the URL address of the request when it fails. Although it gives 403 when first accessed via Does this mean it's a wrangler/cloudflare issue, then? |
What happened?
In the latest version, downloading workflow artifacts fails with a permission issue (403 forbidden). This does not occur in older versions; specifically, I tested v18.12.0, and it worked using the exact same code and token. (I checked and my token is valid and has the necessary permissions; the only change between the two scenarios is the version of octokit/rest.)
Versions
Octokit/rest v20.1.0
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: