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

fix: pass token to github api for higher ratelimit #91

Merged
merged 2 commits into from
Apr 26, 2023

Conversation

gardar
Copy link
Member

@gardar gardar commented Apr 26, 2023

Apparently the github api has a rate limit of 60 requests per hour for unauthenticated requests, but if we authenticate the requests with GITHUB_TOKEN from the CI we get 1000 requests per hour.
This PR passes the token to ansible, so we should see less failures in CI runs.

gardar added 2 commits April 26, 2023 15:40
Signed-off-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: gardar <gardar@users.noreply.github.com>
@gardar gardar requested a review from SuperQ April 26, 2023 16:12
@gardar gardar merged commit bc03fe4 into prometheus-community:main Apr 26, 2023
@gardar gardar deleted the github-api-token branch April 26, 2023 16:48
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 this pull request may close these issues.

2 participants