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

Allow over-riding api prefix as alternative way to get past github api limits #110

Open
tarasglek opened this issue Aug 29, 2024 · 1 comment

Comments

@tarasglek
Copy link

tarasglek commented Aug 29, 2024

In my environment it would be far simpler to replace https://api.github.com/ with https://my-caching-proxy-that-injects-token.com. In CI most metadata apis will be hit repeatedly and should cache really well globally

Would you consider doing that via cmdline flag or env var?

Alternatively would be really nice to offer a list of api prefixes to try. Then I could get cloudflare to cache these for me via their public r2 buckets

@tarasglek
Copy link
Author

There is also a small security matter of not sending GITHUB_TOKEN if using alternative api prefix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant