From e470f221ee16a21a239405920aae2b34638b7373 Mon Sep 17 00:00:00 2001 From: Lucas Costi Date: Tue, 15 Dec 2020 04:53:23 +1000 Subject: [PATCH] Metered billing overage changes for invoiced accounts (#16455) * Metered billing overage changes for invoiced accounts * Consolidate sentence into reusable * Revise overage past-month description * Fix typo --- .../about-billing-for-github-actions.md | 8 +++++--- .../about-billing-for-github-packages.md | 6 ++++-- ...aging-your-spending-limit-for-github-actions.md | 14 ++++++-------- ...ging-your-spending-limit-for-github-packages.md | 12 +++++------- .../learn-github-packages/about-github-packages.md | 2 +- .../actions/actions-packages-set-spending-limit.md | 1 + .../actions-packages-unpaid-account.md | 2 +- data/reusables/github-actions/actions-billing.md | 2 +- .../github-actions/actions-spending-limit-brief.md | 1 + .../actions-spending-limit-detailed.md | 3 +++ .../github-actions/actions-spending-limit.md | 1 - .../spending-limit-enterprise-account.md | 1 - .../reusables/package_registry/packages-billing.md | 2 +- .../packages-spending-limit-brief.md | 1 + .../packages-spending-limit-detailed.md | 3 +++ .../spending-limit-enterprise-account.md | 1 - 16 files changed, 33 insertions(+), 27 deletions(-) create mode 100644 data/reusables/actions/actions-packages-set-spending-limit.md create mode 100644 data/reusables/github-actions/actions-spending-limit-brief.md create mode 100644 data/reusables/github-actions/actions-spending-limit-detailed.md delete mode 100644 data/reusables/github-actions/actions-spending-limit.md delete mode 100644 data/reusables/github-actions/spending-limit-enterprise-account.md create mode 100644 data/reusables/package_registry/packages-spending-limit-brief.md create mode 100644 data/reusables/package_registry/packages-spending-limit-detailed.md delete mode 100644 data/reusables/package_registry/spending-limit-enterprise-account.md diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions.md index b3562de799..a773670d46 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions.md @@ -8,7 +8,9 @@ versions: ### About billing for {% data variables.product.prodname_actions %} -{% data reusables.github-actions.actions-billing %} {% data reusables.github-actions.actions-spending-limit %} +{% data reusables.github-actions.actions-billing %} + +{% data reusables.github-actions.actions-spending-limit-brief %} For more information, see "[About spending limits](#about-spending-limits)." Minutes reset every month, while storage usage does not. @@ -69,8 +71,8 @@ Your {% data variables.product.prodname_actions %} usage shares your account's e ### About spending limits -By default, your account will have a spending limit of $0 for {% data variables.product.prodname_actions %} usage. To enable using minutes and storage for private repositories beyond the amounts included with your account, you can increase the spending limit or allow unlimited spending. For more information, see "[Managing your spending limit for {% data variables.product.prodname_actions %}](/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-actions)." +{% data reusables.github-actions.actions-spending-limit-detailed %} -{% data reusables.github-actions.spending-limit-enterprise-account %} +For information on managing and changing your account's spending limit, see "[Managing your spending limit for {% data variables.product.prodname_actions %}](/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-actions)." {% data reusables.dotcom_billing.actions-packages-unpaid-account %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-packages.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-packages.md index 28d0b8a645..83ccc37eaf 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-packages.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-packages.md @@ -10,6 +10,8 @@ versions: {% data reusables.package_registry.packages-billing %} +{% data reusables.package_registry.packages-spending-limit-brief %} For more information, see "[About spending limits](#about-spending-limits)." + {% data reusables.package_registry.container-registry-beta-billing-note %} Data transfer resets every month, while storage usage does not. @@ -50,8 +52,8 @@ Your {% data variables.product.prodname_registry %} usage shares your account's ### About spending limits -By default, your account will have a spending limit of $0 for {% data variables.product.prodname_registry %} usage. To enable storage and data transfer for private packages beyond the amounts included with your account, you can increase the spending limit or allow unlimited spending. For more information, see "[Managing your spending limit for {% data variables.product.prodname_registry %}](/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-packages)." +{% data reusables.package_registry.packages-spending-limit-detailed %} -{% data reusables.package_registry.spending-limit-enterprise-account %} +For information on managing and changing your account's spending limit, see "[Managing your spending limit for {% data variables.product.prodname_registry %}](/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-packages)." {% data reusables.dotcom_billing.actions-packages-unpaid-account %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-actions.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-actions.md index 1f70661bed..27598d9599 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-actions.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-actions.md @@ -8,13 +8,15 @@ versions: ### About spending limits for {% data variables.product.prodname_actions %} -{% data reusables.github-actions.actions-billing %} {% data reusables.github-actions.actions-spending-limit %} +{% data reusables.github-actions.actions-billing %} -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 {% data variables.product.prodname_actions %} and {% data variables.product.prodname_registry %}. For more information about pricing for {% data variables.product.prodname_actions %} usage, see "[About billing for {% data variables.product.prodname_actions %}](/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions)." +{% data reusables.github-actions.actions-spending-limit-brief %} -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 {% data variables.product.prodname_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. +{% data reusables.actions.actions-packages-set-spending-limit %} For more information about pricing for {% data variables.product.prodname_actions %} usage, see "[About billing for {% data variables.product.prodname_actions %}](/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions)." -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. +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 {% data variables.product.prodname_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 {% data variables.product.prodname_actions %} for your user account @@ -30,8 +32,6 @@ Anyone can manage the spending limit for {% data variables.product.prodname_acti Organizations owners and billing managers can manage the spending limit for {% data variables.product.prodname_actions %} for an organization. -If you pay for your organization account by invoice, you cannot manage the spending limit for your enterprise account on {% data variables.product.product_name %}. If you want to allow repositories owned by your organization to use {% data variables.product.prodname_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](https://enterprise.github.com/contact). - {% data reusables.profile.access_profile %} {% data reusables.profile.access_org %} {% data reusables.organizations.org_settings %} @@ -44,8 +44,6 @@ If you pay for your organization account by invoice, you cannot manage the spend Enterprise owners and billing managers can manage the spending limit for {% data variables.product.prodname_actions %} for an enterprise account. -{% data reusables.github-actions.spending-limit-enterprise-account %} - {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.settings-tab %} {% data reusables.enterprise-accounts.billing-tab %} diff --git a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-packages.md b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-packages.md index 242ac1a7c4..6685446a00 100644 --- a/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-packages.md +++ b/content/github/setting-up-and-managing-billing-and-payments-on-github/managing-your-spending-limit-for-github-packages.md @@ -10,11 +10,13 @@ versions: {% data reusables.package_registry.packages-billing %} -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 {% data variables.product.prodname_registry %} and {% data variables.product.prodname_actions %}. For more information about pricing for {% data variables.product.prodname_registry %} usage, see "[About billing for {% data variables.product.prodname_registry %}](/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-packages)." +{% data reusables.package_registry.packages-spending-limit-brief %} -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 {% data variables.product.prodname_team %}, does not allow overages, and publishes a new version of a private package that increases your storage usage for the month from 1.9GB to 2.1GB, publishing the version will use slightly more than the 2GB your product includes. +{% data reusables.actions.actions-packages-set-spending-limit %} For more information about pricing for {% data variables.product.prodname_registry %} usage, see "[About billing for {% data variables.product.prodname_registry %}](/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-packages)." -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. +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 {% data variables.product.prodname_team %}, does not allow overages, and publishes a new version of a private package that increases your storage usage for the month from 1.9GB to 2.1GB, publishing the version will use slightly more 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, 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 {% data variables.product.prodname_registry %} for your user account @@ -30,8 +32,6 @@ Anyone can manage the spending limit for {% data variables.product.prodname_regi Organizations owners and billing managers can manage the spending limit for {% data variables.product.prodname_registry %} for an organization. -If you pay for your organization account by invoice, you cannot manage the spending limit for your enterprise account on {% data variables.product.product_name %}. If you want to allow repositories owned by your organization to use {% data variables.product.prodname_registry %} 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](https://enterprise.github.com/contact). - {% data reusables.profile.access_profile %} {% data reusables.profile.access_org %} {% data reusables.organizations.org_settings %} @@ -44,8 +44,6 @@ If you pay for your organization account by invoice, you cannot manage the spend Enterprise owners and billing managers can manage the spending limit for {% data variables.product.prodname_registry %} for an enterprise account. -{% data reusables.package_registry.spending-limit-enterprise-account %} - {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.settings-tab %} {% data reusables.enterprise-accounts.billing-tab %} diff --git a/content/packages/learn-github-packages/about-github-packages.md b/content/packages/learn-github-packages/about-github-packages.md index 1e2ef5b463..08a054d5c3 100644 --- a/content/packages/learn-github-packages/about-github-packages.md +++ b/content/packages/learn-github-packages/about-github-packages.md @@ -46,7 +46,7 @@ You can review the package's README, some metadata like licensing, download stat {% if currentVersion == "free-pro-team@latest" %} ### About billing for {% data variables.product.prodname_registry %} -{% data reusables.package_registry.packages-billing %} For more information, see "[About billing for {% data variables.product.prodname_registry %}](/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-packages)." +{% data reusables.package_registry.packages-billing %} {% data reusables.package_registry.packages-spending-limit-brief %} For more information, see "[About billing for {% data variables.product.prodname_registry %}](/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-packages)." {% data reusables.package_registry.container-registry-beta-billing-note %} {% endif %} diff --git a/data/reusables/actions/actions-packages-set-spending-limit.md b/data/reusables/actions/actions-packages-set-spending-limit.md new file mode 100644 index 0000000000..e315a34bc8 --- /dev/null +++ b/data/reusables/actions/actions-packages-set-spending-limit.md @@ -0,0 +1 @@ +You can set a specific spending limit or, for some accounts, allow unlimited spending. The spending limit applies to your combined overages for {% data variables.product.prodname_registry %} and {% data variables.product.prodname_actions %}. diff --git a/data/reusables/dotcom_billing/actions-packages-unpaid-account.md b/data/reusables/dotcom_billing/actions-packages-unpaid-account.md index cb9dac9ca3..dc87bcb5ee 100644 --- a/data/reusables/dotcom_billing/actions-packages-unpaid-account.md +++ b/data/reusables/dotcom_billing/actions-packages-unpaid-account.md @@ -2,4 +2,4 @@ If your account has outstanding unpaid charges: * The storage or minutes included in your account for {% data variables.product.prodname_actions %} and {% data variables.product.prodname_registry %} will not be reset until the payment has been successfully processed. * For accounts with storage or minutes remaining for the current billing period, {% data variables.product.prodname_actions %} and {% data variables.product.prodname_registry %} will continue to be available until any included usage has been reached. -* For accounts that have reached the included usage for the current billing period for {% data variables.product.prodname_actions %} or {% data variables.product.prodname_registry %}, both {% data variables.product.prodname_actions %} and {% data variables.product.prodname_registry %} will be disabled to prevent any further overages. If you pay your account by invoice, you must [contact our account management team](https://enterprise.github.com/contact) to process payment and reset your usage. +* For accounts that have reached the included usage for the current billing period for {% data variables.product.prodname_actions %} or {% data variables.product.prodname_registry %}, both {% data variables.product.prodname_actions %} and {% data variables.product.prodname_registry %} will be disabled to prevent any further overages. diff --git a/data/reusables/github-actions/actions-billing.md b/data/reusables/github-actions/actions-billing.md index 947b31a56d..4e12946e9b 100644 --- a/data/reusables/github-actions/actions-billing.md +++ b/data/reusables/github-actions/actions-billing.md @@ -1 +1 @@ -{% data variables.product.prodname_actions %} usage is free for public repositories and self-hosted runners. For private repositories, each {% data variables.product.prodname_dotcom %} account receives a certain amount of free minutes and storage, depending on the product used with the account. +{% data variables.product.prodname_actions %} usage is free for public repositories and self-hosted runners. For private repositories, each {% data variables.product.prodname_dotcom %} 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. diff --git a/data/reusables/github-actions/actions-spending-limit-brief.md b/data/reusables/github-actions/actions-spending-limit-brief.md new file mode 100644 index 0000000000..20d912fb21 --- /dev/null +++ b/data/reusables/github-actions/actions-spending-limit-brief.md @@ -0,0 +1 @@ +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. diff --git a/data/reusables/github-actions/actions-spending-limit-detailed.md b/data/reusables/github-actions/actions-spending-limit-detailed.md new file mode 100644 index 0000000000..062eef3c3f --- /dev/null +++ b/data/reusables/github-actions/actions-spending-limit-detailed.md @@ -0,0 +1,3 @@ +{% data reusables.github-actions.actions-spending-limit-brief %} + +If you have an unlimited spending limit or a spending limit set higher than $0, you will be billed for any additional minutes or storage beyond the included amounts in your account, also called overages. {% data variables.product.prodname_dotcom %} charges usage to the account that owns the repository where a workflow is run. Any coupons on your account do not apply to {% data variables.product.prodname_actions %} overages. diff --git a/data/reusables/github-actions/actions-spending-limit.md b/data/reusables/github-actions/actions-spending-limit.md deleted file mode 100644 index 85d4a11c2c..0000000000 --- a/data/reusables/github-actions/actions-spending-limit.md +++ /dev/null @@ -1 +0,0 @@ -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. {% data variables.product.prodname_dotcom %} charges usage to the account that owns the repository where the workflow is run. Any coupons on your account do not apply to {% data variables.product.prodname_actions %} overages. diff --git a/data/reusables/github-actions/spending-limit-enterprise-account.md b/data/reusables/github-actions/spending-limit-enterprise-account.md deleted file mode 100644 index 8db970e60f..0000000000 --- a/data/reusables/github-actions/spending-limit-enterprise-account.md +++ /dev/null @@ -1 +0,0 @@ -If you pay for your enterprise account by invoice, you cannot manage the spending limit for your enterprise account on {% data variables.product.product_name %}. If you want to allow organizations owned by your enterprise account to use {% data variables.product.prodname_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](https://enterprise.github.com/contact). diff --git a/data/reusables/package_registry/packages-billing.md b/data/reusables/package_registry/packages-billing.md index 7a93df94ba..adc9c87bed 100644 --- a/data/reusables/package_registry/packages-billing.md +++ b/data/reusables/package_registry/packages-billing.md @@ -1 +1 @@ -{% data variables.product.prodname_registry %} usage is free for public packages. For private packages, each {% data variables.product.product_name %} account receives a certain amount of free storage and data transfer, depending on the product used with the account. By default, your account will have a spending limit of $0, which prevents additional usage of storage or data transfer after you reach the included amounts. If you increase your spending limit above the default of $0, you will be billed for any additional storage or data transfer, also called overages, up to your spending limit. Any coupons on your account do not apply to {% data variables.product.prodname_registry %} overages. +{% data variables.product.prodname_registry %} usage is free for public packages. For private packages, each {% data variables.product.product_name %} account receives a certain amount of free storage and data transfer, depending on the product used with the account. Any usage beyond the included amounts is controlled by spending limits. diff --git a/data/reusables/package_registry/packages-spending-limit-brief.md b/data/reusables/package_registry/packages-spending-limit-brief.md new file mode 100644 index 0000000000..ea07621d29 --- /dev/null +++ b/data/reusables/package_registry/packages-spending-limit-brief.md @@ -0,0 +1 @@ +If you are a monthly-billed customer, your account will have a default spending limit of $0, which prevents additional usage of storage or data transfer after you reach the included amounts. If you pay your account by invoice, your account will have an unlimited default spending limit. diff --git a/data/reusables/package_registry/packages-spending-limit-detailed.md b/data/reusables/package_registry/packages-spending-limit-detailed.md new file mode 100644 index 0000000000..2719322745 --- /dev/null +++ b/data/reusables/package_registry/packages-spending-limit-detailed.md @@ -0,0 +1,3 @@ +{% data reusables.package_registry.packages-spending-limit-brief %} + +If you have an unlimited spending limit or a spending limit set higher than $0, you will be billed for any additional storage or data transfer, also called overages, up to your spending limit. Any coupons on your account do not apply to {% data variables.product.prodname_registry %} overages. diff --git a/data/reusables/package_registry/spending-limit-enterprise-account.md b/data/reusables/package_registry/spending-limit-enterprise-account.md deleted file mode 100644 index 867ee8ec71..0000000000 --- a/data/reusables/package_registry/spending-limit-enterprise-account.md +++ /dev/null @@ -1 +0,0 @@ -If you pay for your enterprise account by invoice, you cannot manage the spending limit for your enterprise account on {% data variables.product.product_name %}. If you want to allow organizations owned by your enterprise account to use {% data variables.product.prodname_registry %} 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](https://enterprise.github.com/contact).