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

GitHub's API rate limiting problem #2

Open
Waszker opened this issue Apr 14, 2020 · 1 comment
Open

GitHub's API rate limiting problem #2

Waszker opened this issue Apr 14, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@Waszker
Copy link

Waszker commented Apr 14, 2020

When using scheduled cleanup job I get following error after deleting a few artifacts:

panic: DELETE https://api.github.com/repos/*repo_path*/actions/artifacts/2340371: 403 API rate limit of 1000 still exceeded until 2020-04-14 01:14:13 +0000 UTC, not making remote request. [rate reset in 56m45s]

Would it be possible to somehow fix this by deleting whole bunch of artifacts at once?

@aidansteele
Copy link
Contributor

Ooh thanks for the report, that’s good to know. as far as I know there’s not yet a way to batch delete: https://developer.github.com/v3/actions/artifacts/#delete-an-artifact

But maybe there’s something else we can do. I’ll try think about it tomorrow morning and let you know if I think of anything 👍

@aidansteele aidansteele added the bug Something isn't working label Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants