Skip to main content

Enterprise Server 3.17 is currently available as a release candidate.

Actions limits

There are limits in GitHub Actions which you may hit as you scale up, some may be increased by contacting support.

Limits in GitHub Actions

You be rate limited by GitHub Actions when you scale your usage. Some limits can be increased by contacting your site administrator.

Unless otherwise stated, the expected behaviour when a limit is reached is that the workflow/job will get cancelled.

These limits are subject to change.

Existing system limits

Limit categoryLimitThresholdDescriptionCan GitHub Support increase?
Workflow execution limitWorkflow run time35 days / workflow runIf a workflow run reaches this limit, the workflow run is cancelled. This period includes execution duration, and time spent on waiting and approval.
Workflow execution limitGate approval time30 daysA workflow may wait for up to 30 days on environment approvals.
Workflows queuingWorkflow trigger event rate limit1500 events / 10 seconds / repositoryEach repository is limited to events triggering a workflow run. Support ticket
Workflows queuingWorkflow run queued500 workflow runs / 10 secondsWhen the limit is reached, the workflow runs that were supposed to be triggered by the webhook events will be blocked and will not be queued. Reusable workflows are viewed as a single entity. For example, a run with 30 reusable workflows counts as 1 in this instance.
Workflows queuingWorkflow run start50 workflow runs / minuteWhen the limit is reached, additional workflow runs will queue, causing delays in starting jobs. Support ticket
Workflows executionJob assignment100 jobs / minute / repoWhen the limit is reached, additional jobs will queue, causing delays in starting jobs and updating the UI results of existing jobs. Support ticket
Workflow executionJob Matrix256 jobs / workflow runA job matrix can generate a maximum of jobs per workflow run. This limit applies to both GitHub-hosted and self-hosted runners.
Self-hostedRunner registrations1500 runners / 5 minutes / repository/org/enterpriseRunners can be registered per repository/organization/enterprise. Support ticket
Self-hostedRunners per runner group10,000 runnersRunners registered at the same time per runner group.
Hosted-runnersJob ConcurrencyVariesFor more information about concurrency limits for standard and larger runners, see Usage limits, billing, and administration. Support ticket
Hosted-runnersJob execution time6 hoursEach job in a workflow can run for up to 6 hours of execution time. If a job reaches this limit, the job is terminated and fails.
Larger runnersPer runner concurrency limitVaries by runner typeYou establish when setting up a runner, normally 1,000 max for Linux CPU runners but varies by type. For more information, see Usage limits, billing, and administration. Support ticket
Larger runnersStatic IP limits10-50 IPs10 IPs for team plans, 50 IPs for enterprise, and the limit is configurable. Support ticket
Larger runnersPrivate IP scaling for vnet injection30% bufferYou need to determine the appropriate subnet IP address range, for which we recommend adding a buffer to the maximum job concurrency you anticipate. For instance, if the network configuration's runners are set to a maximum job concurrency of 300, utilize a subnet IP address range that can accommodate at least 390 runners. Note that Azure reserves 5 IPs in every subnet (first 4 and last 1), which sets a minimum practical subnet size depending on runner requirements. Very small subnets (like /29 or smaller) may not provide enough usable addresses for your needs. - Configurable Azure virtual network

Commonly hit dependent service limits

GitHub's REST API rate limits apply to GitHub Actions users, those that are commonly hit are:

  • Unauthenticated users - You can make unauthenticated requests if you are only fetching public data. Unauthenticated requests are associated with the originating IP address, not with the user or application that made the request.

    The primary rate limit for unauthenticated requests is 60 requests per hour.

  • Authenticated users - You can use a personal access token to make API requests. Additionally, you can authorize a GitHub App or OAuth app, which can then make API requests on your behalf.

    All of these requests count towards your personal rate limit of 5,000 requests per hour.

  • GitHub app installations - GitHub Apps authenticating with an installation access token use the installation's minimum rate limit of 5,000 requests per hour. If the installation is on a GitHub Enterprise Cloud organization, the installation has a rate limit of 15,000 requests per hour.

    For installations that are not on a GitHub Enterprise Cloud organization, the rate limit for the installation will scale with the number of users and repositories. Installations that have more than 20 repositories receive another 50 requests per hour for each repository. Installations that are on an organization that have more than 20 users receive another 50 requests per hour for each user. The rate limit cannot increase beyond 12,500 requests per hour.

    Primary rate limits for GitHub App user access tokens (as opposed to installation access tokens) are dictated by the primary rate limits for the authenticated user. This rate limit is combined with any requests that another GitHub App or OAuth app makes on that user's behalf and any requests that the user makes with a personal access token. For more information, see Rate limits for the REST API.

  • OAuth apps - For these requests, the rate limit is 5,000 requests per hour per OAuth app. If the app is owned by a GitHub Enterprise Cloud organization, the rate limit is 15,000 requests per hour.

  • GITHUB TOKEN - The rate limit for GITHUB_TOKEN is 1,000 requests per hour per repository.

  • Secondary rate limits - In addition to primary rate limits, GitHub enforces secondary rate limits in order to prevent abuse and keep the API available for all users, these are not configurable with GHEC. For more information, see Rate limits for the REST API.