Managing your spending limit for GitHub Actions

You can set a spending limit for GitHub Actions usage.

GitHub Actions is available with GitHub Free, GitHub Pro, GitHub Free for organizations, GitHub Team, GitHub Enterprise Cloud, GitHub Enterprise Server, and GitHub AE. GitHub Actions is not available for private repositories owned by accounts using legacy per-repository plans. For more information, see "GitHub's products."

In this article

About spending limits for GitHub Actions

GitHub Actions usage is free for both public repositories and self-hosted runners. For private repositories, each GitHub account receives a certain amount of free minutes and storage, depending on the product used with the account. Any usage beyond the included amounts is controlled by spending limits.

If you are a monthly-billed customer, your account will have a default spending limit of $0, which prevents additional usage of minutes or storage for private repositories beyond the amounts included with your account. If you pay your account by invoice, your account will have an unlimited default spending limit.

You can set a specific spending limit or, for some accounts, allow unlimited spending. The spending limit applies to your combined overages for GitHub Packages and GitHub Actions. For more information about pricing for GitHub Actions usage, see "About billing for GitHub Actions."

If you purchased GitHub Enterprise through a Microsoft Enterprise Agreement, you can connect your Azure Subscription ID to your enterprise account to enable and pay for GitHub Actions usage beyond the amounts including with your account. For more information, see "Connecting an Azure subscription to your enterprise."

As soon as you set a spending limit other than $0, you will be responsible for any existing overages in the current billing period. For example, if your organization uses GitHub Team, does not allow overages, and creates workflow artifacts that increase your storage usage for the month from 1.9GB to 2.1GB, you will use slightly more storage than the 2GB your product includes.

Because you have not enabled overages, your next attempt to create a workflow artifact will fail. You will not receive a bill for the 0.1GB overage that month. However, if you enable overages, your first bill will include the 0.1GB of existing overage for the current billing cycle, as well as any additional overages you accrue.

Managing the spending limit for GitHub Actions for your user account

Anyone can manage the spending limit for GitHub Actions for their own user account.

  1. In the upper-right corner of any page, click your profile photo, then click Settings. Settings icon in the user bar
  2. In your user settings sidebar, click Billing & plans. Billing & plans settings
  3. At the top of the page, under "Payment information", click Manage spending limit. Manage spending limit link
  4. Under "Monthly spending limit", choose to limit spending or allow unlimited spending. Radio buttons to limit spending or allow unlimited spending
  5. If you chose to limit spending, under "Limit spending", type a limit, then click Update limit. Field to type spending limit and Update limit button

Managing the spending limit for GitHub Actions for your organization

Organizations owners and billing managers can manage the spending limit for GitHub Actions for an organization.

  1. In the upper-right corner of any page, click your profile photo, then click Settings. Settings icon in the user bar
  2. In the settings sidebar, click Organizations. Organizations settings in the sidebar
  3. Next to the organization, click Settings. The settings button
  4. If you're an organization owner, in the left sidebar, click Billing & plans. Billing & plans in the organization settings sidebar
  5. At the top of the page, under "Payment information", click Manage spending limit. Manage spending limit link
  6. Under "Monthly spending limit", choose to limit spending or allow unlimited spending. Radio buttons to limit spending or allow unlimited spending
  7. If you chose to limit spending, under "Limit spending", type a limit, then click Update limit. Field to type spending limit and Update limit button

Managing the spending limit for GitHub Actions for your enterprise account

Enterprise owners and billing managers can manage the spending limit for GitHub Actions for an enterprise account.

  1. In the top-right corner of GitHub, click your profile photo, then click Your enterprises. "Your enterprises" in drop-down menu for profile photo on GitHub

  2. In the list of enterprises, click the enterprise you want to view. Name of an enterprise in list of your enterprises

  3. In the enterprise account sidebar, click Settings. Settings tab in the enterprise account sidebar

  4. In the left sidebar, click Billing. Billing tab in the enterprise account settings sidebar

  5. Above "GitHub Actions and Packages monthly usage", click Spending Limit. Spending limit tab

  6. Under "Monthly spending limit", choose to limit spending or allow unlimited spending. Radio buttons to limit spending or allow unlimited spending

  7. If you chose to limit spending, under "Limit spending", type a limit, then click Update limit. Field to type spending limit and Update limit button

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.