Add support for locally hosted GHES instances to reduce rate limiting by C1ARKGABLE · Pull Request #720 · actions/setup-python

Copy link Copy Markdown

@C1ARKGABLE C1ARKGABLE commented

Aug 23, 2023

edited

Loading

Description:
Rate limiting, while necessary, can be frustrating to deal with. The work around is not always a viable solution. No company wants to rely solely on a single employee's GitHub.com PAT for significant internal projects.
This attempts to resolve rate limiting errors by allowing users to internally host a copy of actions/python-versions and specify their GHES api endpoint instead of the GitHub.com endpoint being hardcoded.

##[error]API rate limit exceeded for YOUR_IP. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

Related issue:
#683
#638
#666
#316

#443 (comment)

https://docs.github.com/en/enterprise-server/admin/github-actions/managing-access-to-actions-from-githubcom/setting-up-the-tool-cache-on-self-hosted-runners-without-internet-access

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.
bhundven, andrewsomething, and bob-bins reacted with thumbs up emoji pharindoko reacted with heart emoji