---
title: GitHub Rate Limitations
description: "There are two (2) methods to avoid hitting GitHub rate limitations: authentication, or limiting requests."
---

[Skip to content](https://support.env0.com/migration/github-rate-limitations#main-content)

English

Show submenu for translations

![env0 logo - transparent.png\]](https://support.env0.com/hs-fs/hubfs/Logos/env0%20logo%20-%20transparent.png?height=40&name=env0%20logo%20-%20transparent.png)

- [Default HubSpot Blog](https://6165570.hs-sites.com/blog)

Open main navigation

Close main navigation

- [Default HubSpot Blog](https://6165570.hs-sites.com/blog)
- English
  
  Show submenu for translations
- [env0.com](https://www.env0.com/)

[env0.com](https://www.env0.com/)

 Hello, How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://support.env0.com/migration?hsLang=en)
2. [Troubleshooting](https://support.env0.com/migration/troubleshooting?hsLang=en)

# GitHub Rate Limitations

## There are two (2) methods to avoid hitting GitHub rate limitations: authentication, or limiting requests.

### Overview

GitHub has rate limitations for users:

- Sixty (60) requests per hour based on IP address.
- Five-Thousand (5000) requests per hour based on user.

While the sixty (60) request limit won’t affect most small businesses, it can affect medium/large businesses working from the same office space.  It will also affect users who select the env0 SaaS option as it comes from a single IP address.

At env0 we’ve seen this affect a few of our customers and wanted to provide two (2) options to mitigate against these issues. 

### Mitigations

There are two (2) methods of mitigation that are simple and quick to implement.

#### Method One (1) - Authentication

All authenticated users are allowed five thousand (5000) requests per hour, which should be more than enough.  If this is your preferred method of mitigation is authentication, check out the authentication methods on GitHub here:

[https://docs.github.com/en/authentication](https://docs.github.com/en/authentication)For example, in env0.yaml you can curl GitHub with authentication like this:

```
curl --request GET \--url "https://api.github.com/octocat" \--header "Authorization: Bearer YOUR-TOKEN"
```

See: [Create Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)

See: [Getting Started with Rest API (select cURL example)](https://docs.github.com/en/rest/guides/getting-started-with-the-rest-api)

#### Method Two (2) - Manually Limit Requests

There are occasions when authentication is not possible or desired.  In these cases, you can work on limiting the number of requests.  

In our customer example, there was a script using *tflint*, which checked (and pulled if available) for a newer version.  By using [Additional Controls](https://docs.env0.com/docs/additional-controls) you are able to specify the version of code for *tflint* (TFLINT\_VERSION).  This will first check the local version and if matching, no update request will occur, saving a request.

There are lots of additional options that can be used for various use cases and products.  A certain element of sell investigation is required for each use case.

> N.B. In this example, we are matching one version.  If a new version is made available, the additional control will have to be adjusted to reflect the desired version.

 

- [Using env0](https://support.env0.com/migration/using-env0?hsLang=en#main-content)
  
  
  
  
  
    - [Self-Hosted Agent](https://support.env0.com/migration/using-env0?hsLang=en#self-hosted-agent)
    - [FAQ](https://support.env0.com/migration/using-env0?hsLang=en#faq)
- [Advanced](https://support.env0.com/migration/advanced?hsLang=en#main-content)
  
  
  
  
  
    - [VCS Integrations](https://support.env0.com/migration/advanced?hsLang=en#vcs-integrations)
    - [Remote State](https://support.env0.com/migration/advanced?hsLang=en#remote-state)
    - [Agent](https://support.env0.com/migration/advanced?hsLang=en#agent)
    - [Terragrunt](https://support.env0.com/migration/advanced?hsLang=en#terragrunt)
    - [AWS](https://support.env0.com/migration/advanced?hsLang=en#aws)
- [Troubleshooting](https://support.env0.com/migration/troubleshooting?hsLang=en)

- [Default HubSpot Blog](https://6165570.hs-sites.com/blog)

[![env zero logo](https://support.env0.com/hubfs/envzero_logo_black_rgb-2.svg "env zero logo")](https://www.env0.com)

env0 Help Center

<https://www.facebook.com/envzero/> <https://twitter.com/envZero> <https://www.linkedin.com/company/env0/> <https://www.youtube.com/channel/UC2rSNWiZ2bvIc5NalLTPjJA>

Copyright © 2026, env zero