About spending limits for GitHub Actions
GitHub Actions usage is free for 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. By default, your account will have a spending limit of $0, which prevents additional usage of minutes or storage after you reach these limits. If you increase your spending limit above the default of $0, you will be billed for any minutes or storage beyond the limits, also called overages. GitHub charges usage to the account that owns the repository where the workflow is run. Any coupons on your account do not apply to GitHub Actions overages.
You can set a higher spending limit or, for some accounts, allow unlimited spending. If you pay for your organization or enterprise account by invoice, you can prepay for overages to set a higher spending limit. The spending limit applies to your combined overages for GitHub Actions and GitHub Packages. For more information about pricing for GitHub Actions usage, see "About billing for GitHub Actions."
As soon as you set a spending limit above $0, you will be responsible for any overages that occurred in the past. 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 publish a version of the package will fail. You will not receive a bill for the 0.1GB overage that month. However, if you enable overages in a future month, your first bill will include the 0.1GB of overage from the past in addition to any overages for the current billing cycle.
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.
- In the upper-right corner of any page, click your profile photo, then click Settings.
- In your user settings sidebar, click Billing.
- Under "Billing", click Cost management.
- Under "Monthly spending limit", choose to limit spending or allow unlimited spending.
- If you chose to limit spending, under "Limit spending", type a limit, then click Update limit.
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.
If you pay for your organization account by invoice, you cannot manage the spending limit for your enterprise account on GitHub. If you want to allow repositories owned by your organization to use GitHub Actions beyond the storage or data transfer included for each repository, you can prepay for overages. Because overages must prepaid, you cannot enable unlimited spending on accounts paid by invoice. Your spending limit will be 150% of the amount you prepaid. If you have any questions, contact our account management team.
- In the top right corner of GitHub, click your profile photo, then click Your profile.
- On the left side of your profile page, under "Organizations", click the icon for your organization.
- Under your organization name, click Settings.
- In your organization's Settings sidebar, click Billing.
- Under "Billing", click Cost management.
- Under "Monthly spending limit", choose to limit spending or allow unlimited spending.
- If you chose to limit spending, under "Limit spending", type a limit, then click Update limit.
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.
If you pay for your enterprise account by invoice, you cannot manage the spending limit for your enterprise account on GitHub. If you want to allow organizations owned by your enterprise account to use GitHub Actions beyond the storage or data transfer included in their accounts, you can prepay for overages. Because overages must prepaid, you cannot enable unlimited spending on accounts paid by invoice. Your spending limit will be 150% of the amount you prepaid. If you have any questions, contact our account management team.
-
In the top-right corner of GitHub, click your profile photo, then click Your enterprises.
-
In the list of enterprises, click the enterprise you want to view.
- In the enterprise account sidebar, click Settings.
- In the left sidebar, click Billing.
- Under "GitHub Actions and Packages monthly usage", click Cost management.
- Under "Monthly spending limit", choose to limit spending or allow unlimited spending.
- If you chose to limit spending, under "Limit spending", type a limit, then click Update limit.