diff --git a/assets/images/help/billing/enhanced-billing-platform-products-tabs.png b/assets/images/help/billing/enhanced-billing-platform-products-tabs.png new file mode 100644 index 0000000000..70d7e9fb10 Binary files /dev/null and b/assets/images/help/billing/enhanced-billing-platform-products-tabs.png differ diff --git a/content/actions/managing-workflow-runs/re-running-workflows-and-jobs.md b/content/actions/managing-workflow-runs/re-running-workflows-and-jobs.md index 847e7bfdea..880aad59b5 100644 --- a/content/actions/managing-workflow-runs/re-running-workflows-and-jobs.md +++ b/content/actions/managing-workflow-runs/re-running-workflows-and-jobs.md @@ -10,7 +10,7 @@ versions: ghes: '*' ghec: '*' --- - + {% data reusables.actions.enterprise-github-hosted-runners %} ## About re-running workflows and jobs @@ -107,9 +107,8 @@ When you re-run a specific job in a workflow, a new workflow run will start for {% data reusables.repositories.actions-tab %} {% data reusables.repositories.navigate-to-workflow %} {% data reusables.repositories.view-run %} -1. Next to the job that you want to re-run, click {% octicon "sync" aria-label="The re-run icon" %}. +1. Under the "Jobs" section of the left sidebar, next to the job that you want to re-run, click {% octicon "sync" aria-label="The re-run icon" %}. - ![Screenshot of the page for a workflow run. In the left sidebar, to the right of a job, a sync icon is outlined in dark orange.](/assets/images/help/actions/re-run-selected-job.png) {% data reusables.actions.enable-debug-logging %} {% endwebui %} @@ -152,8 +151,6 @@ You can view the results from your previous attempts at running a workflow. You {% data reusables.repositories.view-run %} {%- ifversion re-run-jobs %} 1. To the right of the run name, select the **Latest** dropdown menu and click a previous run attempt. - - ![Screenshot of the page for a workflow run. A dropdown menu, labeled "Latest #2," is outlined in dark orange.](/assets/images/help/actions/previous-run-attempts.png) {%- else %} 1. In the left pane, click a previous run attempt. {%- endif %} diff --git a/content/billing/index.md b/content/billing/index.md index 3109fcd08b..1e2c4ab1c8 100644 --- a/content/billing/index.md +++ b/content/billing/index.md @@ -49,4 +49,5 @@ children: - /managing-billing-for-github-marketplace-apps - /managing-billing-for-git-large-file-storage - /setting-up-paid-accounts-for-procurement-companies + - /using-the-enhanced-billing-platform-for-enterprises --- diff --git a/content/billing/managing-billing-for-git-large-file-storage/about-billing-for-git-large-file-storage.md b/content/billing/managing-billing-for-git-large-file-storage/about-billing-for-git-large-file-storage.md index 3658bd14bf..0c6390e980 100644 --- a/content/billing/managing-billing-for-git-large-file-storage/about-billing-for-git-large-file-storage.md +++ b/content/billing/managing-billing-for-git-large-file-storage/about-billing-for-git-large-file-storage.md @@ -14,6 +14,13 @@ topics: - Upgrades shortTitle: About Git LFS billing --- + +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + ## About billing for {% data variables.large_files.product_name_long %} {% data reusables.large_files.free-storage-bandwidth-amount %} {% data reusables.large_files.does_not_carry %} diff --git a/content/billing/managing-billing-for-git-large-file-storage/downgrading-git-large-file-storage.md b/content/billing/managing-billing-for-git-large-file-storage/downgrading-git-large-file-storage.md index b659aea437..edadb6684d 100644 --- a/content/billing/managing-billing-for-git-large-file-storage/downgrading-git-large-file-storage.md +++ b/content/billing/managing-billing-for-git-large-file-storage/downgrading-git-large-file-storage.md @@ -18,6 +18,13 @@ topics: - User account shortTitle: Downgrade Git LFS storage --- + +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + When you downgrade your number of data packs, your change takes effect on your next billing date. For more information, see "[AUTOTITLE](/billing/managing-billing-for-git-large-file-storage/about-billing-for-git-large-file-storage)." ## Downgrading storage and bandwidth for a personal account diff --git a/content/billing/managing-billing-for-git-large-file-storage/index.md b/content/billing/managing-billing-for-git-large-file-storage/index.md index 1705e89890..840f9dfce8 100644 --- a/content/billing/managing-billing-for-git-large-file-storage/index.md +++ b/content/billing/managing-billing-for-git-large-file-storage/index.md @@ -18,3 +18,8 @@ children: - /downgrading-git-large-file-storage --- +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} diff --git a/content/billing/managing-billing-for-git-large-file-storage/upgrading-git-large-file-storage.md b/content/billing/managing-billing-for-git-large-file-storage/upgrading-git-large-file-storage.md index ef126401c6..83abf10f03 100644 --- a/content/billing/managing-billing-for-git-large-file-storage/upgrading-git-large-file-storage.md +++ b/content/billing/managing-billing-for-git-large-file-storage/upgrading-git-large-file-storage.md @@ -18,6 +18,13 @@ topics: - User account shortTitle: Upgrade Git LFS storage --- + +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + ## Purchasing additional storage and bandwidth for a personal account {% data reusables.user-settings.access_settings %} diff --git a/content/billing/managing-billing-for-git-large-file-storage/viewing-your-git-large-file-storage-usage.md b/content/billing/managing-billing-for-git-large-file-storage/viewing-your-git-large-file-storage-usage.md index 5b9b98aa2b..23ae6340f2 100644 --- a/content/billing/managing-billing-for-git-large-file-storage/viewing-your-git-large-file-storage-usage.md +++ b/content/billing/managing-billing-for-git-large-file-storage/viewing-your-git-large-file-storage-usage.md @@ -17,6 +17,13 @@ topics: - User account shortTitle: View Git LFS usage --- + +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + {% data reusables.large_files.owner_quota_only %} {% data reusables.large_files.does_not_carry %} ## Viewing storage and bandwidth usage for a personal account diff --git a/content/billing/managing-billing-for-github-actions/about-billing-for-github-actions.md b/content/billing/managing-billing-for-github-actions/about-billing-for-github-actions.md index cc4bcfed6c..b5632adec6 100644 --- a/content/billing/managing-billing-for-github-actions/about-billing-for-github-actions.md +++ b/content/billing/managing-billing-for-github-actions/about-billing-for-github-actions.md @@ -13,6 +13,13 @@ topics: - Spending limits shortTitle: Billing for GitHub Actions --- + +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + ## About billing for {% data variables.product.prodname_actions %} {% ifversion billing-auth-and-capture %} diff --git a/content/billing/managing-billing-for-github-actions/index.md b/content/billing/managing-billing-for-github-actions/index.md index 9bc0f535c5..7bae2c0bd6 100644 --- a/content/billing/managing-billing-for-github-actions/index.md +++ b/content/billing/managing-billing-for-github-actions/index.md @@ -13,3 +13,8 @@ children: - /managing-your-spending-limit-for-github-actions --- +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} diff --git a/content/billing/managing-billing-for-github-actions/managing-your-spending-limit-for-github-actions.md b/content/billing/managing-billing-for-github-actions/managing-your-spending-limit-for-github-actions.md index 34d66c43b0..0adc1824e1 100644 --- a/content/billing/managing-billing-for-github-actions/managing-your-spending-limit-for-github-actions.md +++ b/content/billing/managing-billing-for-github-actions/managing-your-spending-limit-for-github-actions.md @@ -16,6 +16,13 @@ topics: - User account shortTitle: Spending limits for Actions --- + +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + ## About spending limits for {% data variables.product.prodname_actions %} {% data reusables.actions.actions-billing %} diff --git a/content/billing/managing-billing-for-github-actions/viewing-your-github-actions-usage.md b/content/billing/managing-billing-for-github-actions/viewing-your-github-actions-usage.md index 959c5cf572..70de74c6db 100644 --- a/content/billing/managing-billing-for-github-actions/viewing-your-github-actions-usage.md +++ b/content/billing/managing-billing-for-github-actions/viewing-your-github-actions-usage.md @@ -15,6 +15,13 @@ topics: - User account shortTitle: View your Actions usage --- + +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + You can also view the billable job execution minutes for an individual workflow run. For more information, see "[AUTOTITLE](/actions/monitoring-and-troubleshooting-workflows/viewing-job-execution-time)." ## Viewing {% data variables.product.prodname_actions %} usage for your personal account diff --git a/content/billing/managing-billing-for-github-advanced-security/viewing-your-github-advanced-security-usage.md b/content/billing/managing-billing-for-github-advanced-security/viewing-your-github-advanced-security-usage.md index a3c3236064..f0c6d01b07 100644 --- a/content/billing/managing-billing-for-github-advanced-security/viewing-your-github-advanced-security-usage.md +++ b/content/billing/managing-billing-for-github-advanced-security/viewing-your-github-advanced-security-usage.md @@ -19,6 +19,12 @@ topics: shortTitle: View Advanced Security usage --- +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform-licenses %} + +{% endif %} + ## About licenses for {% data variables.product.prodname_GH_advanced_security %} Each license for {% data variables.product.prodname_GH_advanced_security %} specifies a maximum number of {% ifversion ghas-billing-UI-update %}licenses {% endif %}that can use these features. Periodically you should check that your use is within your license capacity. For more information, see "[AUTOTITLE](/billing/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security)." diff --git a/content/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces.md b/content/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces.md index 071ef88617..caaeeebf9e 100644 --- a/content/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces.md +++ b/content/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces.md @@ -18,6 +18,12 @@ redirect_from: - /codespaces/codespaces-reference/understanding-billing-for-github-codespaces.md --- +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + ## About {% data variables.product.prodname_github_codespaces %} pricing {% ifversion billing-auth-and-capture %} diff --git a/content/billing/managing-billing-for-github-codespaces/index.md b/content/billing/managing-billing-for-github-codespaces/index.md index d38eeec17c..58807b8abb 100644 --- a/content/billing/managing-billing-for-github-codespaces/index.md +++ b/content/billing/managing-billing-for-github-codespaces/index.md @@ -11,3 +11,8 @@ children: - /managing-the-spending-limit-for-github-codespaces --- +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} diff --git a/content/billing/managing-billing-for-github-codespaces/managing-the-spending-limit-for-github-codespaces.md b/content/billing/managing-billing-for-github-codespaces/managing-the-spending-limit-for-github-codespaces.md index 8f2cefc8a2..f64b4979ef 100644 --- a/content/billing/managing-billing-for-github-codespaces/managing-the-spending-limit-for-github-codespaces.md +++ b/content/billing/managing-billing-for-github-codespaces/managing-the-spending-limit-for-github-codespaces.md @@ -17,6 +17,13 @@ redirect_from: - /billing/managing-billing-for-github-codespaces/managing-spending-limits-for-codespaces - /billing/managing-billing-for-github-codespaces/managing-spending-limits-for-github-codespaces --- + +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + ## About the {% data variables.product.prodname_github_codespaces %} spending limit {% data reusables.codespaces.codespaces-free-for-personal-intro %} For more information, see "[AUTOTITLE](/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces)." diff --git a/content/billing/managing-billing-for-github-codespaces/viewing-your-github-codespaces-usage.md b/content/billing/managing-billing-for-github-codespaces/viewing-your-github-codespaces-usage.md index a416a83dfa..383f0ff5b1 100644 --- a/content/billing/managing-billing-for-github-codespaces/viewing-your-github-codespaces-usage.md +++ b/content/billing/managing-billing-for-github-codespaces/viewing-your-github-codespaces-usage.md @@ -13,6 +13,12 @@ redirect_from: - /billing/managing-billing-for-github-codespaces/viewing-your-codespaces-usage --- +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + ## Viewing {% data variables.product.prodname_github_codespaces %} usage for your personal account You can see how much of the usage included in your personal account you have used so far in the current monthly billing cycle. If you have set up a payment method, set a spending limit, and used all of your included usage, you can also check your bill for the current month. diff --git a/content/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot.md b/content/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot.md index b570b860c5..2fc5df6ea1 100644 --- a/content/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot.md +++ b/content/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot.md @@ -9,6 +9,12 @@ topics: shortTitle: Billing for GitHub Copilot --- +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + ## About billing for {% data variables.product.prodname_copilot %} You can set up a {% data variables.product.prodname_copilot %} subscription for your personal account, or for an organization or enterprise. diff --git a/content/billing/managing-billing-for-github-copilot/index.md b/content/billing/managing-billing-for-github-copilot/index.md index bc29f07579..fa23c338b8 100644 --- a/content/billing/managing-billing-for-github-copilot/index.md +++ b/content/billing/managing-billing-for-github-copilot/index.md @@ -12,3 +12,8 @@ children: - /viewing-your-github-copilot-usage --- +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} diff --git a/content/billing/managing-billing-for-github-copilot/managing-your-github-copilot-business-subscription.md b/content/billing/managing-billing-for-github-copilot/managing-your-github-copilot-business-subscription.md index ab7d099b65..0ec6f41ff7 100644 --- a/content/billing/managing-billing-for-github-copilot/managing-your-github-copilot-business-subscription.md +++ b/content/billing/managing-billing-for-github-copilot/managing-your-github-copilot-business-subscription.md @@ -12,6 +12,12 @@ topics: shortTitle: Your business subscription --- +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + {% note %} **Note:** If you are a member of your organization{% ifversion ghec %} or enterprise{% endif %}, and you want to set up a {% data variables.product.prodname_copilot_for_business %} subscription, you will need to contact your organization{% ifversion ghec %} or enterprise{% endif %} administrator. diff --git a/content/billing/managing-billing-for-github-copilot/managing-your-github-copilot-enterprise-subscription.md b/content/billing/managing-billing-for-github-copilot/managing-your-github-copilot-enterprise-subscription.md index 8b94ba22d4..1d0313206a 100644 --- a/content/billing/managing-billing-for-github-copilot/managing-your-github-copilot-enterprise-subscription.md +++ b/content/billing/managing-billing-for-github-copilot/managing-your-github-copilot-enterprise-subscription.md @@ -11,6 +11,12 @@ topics: shortTitle: Your enterprise subscription --- +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + ## About managing your {% data variables.product.prodname_copilot_enterprise %} subscription To allow members to benefit from {% data variables.product.prodname_copilot %} features on their local machine and on {% data variables.product.prodname_dotcom_the_website %}, you can set up a subscription to {% data variables.product.prodname_copilot_enterprise %} for an enterprise on {% data variables.product.prodname_ghe_cloud %}. When you set up a subscription, you'll be able to enable {% data variables.product.prodname_copilot_short %} for organizations in your enterprise. Organization owners can then grant access to organization members. diff --git a/content/billing/managing-billing-for-github-copilot/viewing-your-github-copilot-usage.md b/content/billing/managing-billing-for-github-copilot/viewing-your-github-copilot-usage.md index 387d6e3abd..f4b3bd0def 100644 --- a/content/billing/managing-billing-for-github-copilot/viewing-your-github-copilot-usage.md +++ b/content/billing/managing-billing-for-github-copilot/viewing-your-github-copilot-usage.md @@ -11,6 +11,12 @@ topics: shortTitle: View your usage --- +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + ## About your {% data variables.product.prodname_copilot %} usage If you have a subscription to {% data variables.product.prodname_copilot_for_business %} or {% data variables.product.prodname_copilot_enterprise %}, you can view usage information for {% data variables.product.prodname_copilot %} in your {% ifversion ghec %}enterprise, broken down by organization, or in your{% endif %} organization, broken down by seat assignment status. {% ifversion ghec %}At the enterprise level, this information includes the number of seats assigned in each organization, and the total spending associated with each organization, for the current billing cycle.{% endif %} At the organization level, this information includes the total number of seats, seats carried over from the previous billing cycle, new seats added during the current cycle, and seats to be removed at the end of the current cycle. diff --git a/content/billing/managing-billing-for-github-packages/about-billing-for-github-packages.md b/content/billing/managing-billing-for-github-packages/about-billing-for-github-packages.md index dabf4b00e1..1a84c6185a 100644 --- a/content/billing/managing-billing-for-github-packages/about-billing-for-github-packages.md +++ b/content/billing/managing-billing-for-github-packages/about-billing-for-github-packages.md @@ -14,6 +14,13 @@ topics: - Spending limits shortTitle: About billing --- + +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + ## About billing for {% data variables.product.prodname_registry %} {% ifversion billing-auth-and-capture %} diff --git a/content/billing/managing-billing-for-github-packages/index.md b/content/billing/managing-billing-for-github-packages/index.md index fd3ed07f0b..e092c7e857 100644 --- a/content/billing/managing-billing-for-github-packages/index.md +++ b/content/billing/managing-billing-for-github-packages/index.md @@ -13,3 +13,8 @@ children: - /managing-your-spending-limit-for-github-packages --- +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} diff --git a/content/billing/managing-billing-for-github-packages/managing-your-spending-limit-for-github-packages.md b/content/billing/managing-billing-for-github-packages/managing-your-spending-limit-for-github-packages.md index c5c7799cc7..a3fa486c68 100644 --- a/content/billing/managing-billing-for-github-packages/managing-your-spending-limit-for-github-packages.md +++ b/content/billing/managing-billing-for-github-packages/managing-your-spending-limit-for-github-packages.md @@ -17,6 +17,13 @@ topics: - User account shortTitle: Your spending limit --- + +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + ## About spending limits for {% data variables.product.prodname_registry %} {% data reusables.package_registry.packages-billing %} diff --git a/content/billing/managing-billing-for-github-packages/viewing-your-github-packages-usage.md b/content/billing/managing-billing-for-github-packages/viewing-your-github-packages-usage.md index 9b48480840..b37bf0a651 100644 --- a/content/billing/managing-billing-for-github-packages/viewing-your-github-packages-usage.md +++ b/content/billing/managing-billing-for-github-packages/viewing-your-github-packages-usage.md @@ -16,6 +16,13 @@ topics: - User account shortTitle: View your usage --- + +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform %} + +{% endif %} + ## Viewing {% data variables.product.prodname_registry %} usage for your personal account Anyone can view {% data variables.product.prodname_registry %} usage for their own personal account. diff --git a/content/billing/managing-the-plan-for-your-github-account/viewing-the-subscription-and-usage-for-your-enterprise-account.md b/content/billing/managing-the-plan-for-your-github-account/viewing-the-subscription-and-usage-for-your-enterprise-account.md index 0fac288144..5c4d369ebe 100644 --- a/content/billing/managing-the-plan-for-your-github-account/viewing-the-subscription-and-usage-for-your-enterprise-account.md +++ b/content/billing/managing-the-plan-for-your-github-account/viewing-the-subscription-and-usage-for-your-enterprise-account.md @@ -16,6 +16,12 @@ topics: shortTitle: View subscription & usage --- +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform-licenses %} + +{% endif %} + ## About billing for enterprise accounts You can view an overview of {% ifversion ghec %}your subscription and paid{% elsif ghes %}the license{% endif %} usage for {% ifversion ghec %}your{% elsif ghes %}the{% endif %} enterprise account on {% ifversion ghec %}{% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}{% data variables.location.product_location %}{% endif %}.{% ifversion ghec %} {% data reusables.enterprise.create-an-enterprise-account %} For more information, see "[AUTOTITLE](/enterprise-cloud@latest/admin/managing-your-enterprise-account/creating-an-enterprise-account)."{% endif %} diff --git a/content/billing/managing-your-license-for-github-enterprise/viewing-license-usage-for-github-enterprise.md b/content/billing/managing-your-license-for-github-enterprise/viewing-license-usage-for-github-enterprise.md index 83bcf8e8e7..a657e4720a 100644 --- a/content/billing/managing-your-license-for-github-enterprise/viewing-license-usage-for-github-enterprise.md +++ b/content/billing/managing-your-license-for-github-enterprise/viewing-license-usage-for-github-enterprise.md @@ -12,6 +12,12 @@ topics: shortTitle: View license usage --- +{% ifversion enhanced-billing-platform %} + +{% data reusables.billing.enhanced-billing-platform-licenses %} + +{% endif %} + ## About license usage for {% data variables.product.prodname_enterprise %} You can view license usage for {% data variables.product.product_name %} on {% data variables.location.product_location %}. diff --git a/content/billing/using-the-enhanced-billing-platform-for-enterprises/about-enhanced-billing-for-git-large-file-storage.md b/content/billing/using-the-enhanced-billing-platform-for-enterprises/about-enhanced-billing-for-git-large-file-storage.md new file mode 100644 index 0000000000..3335878139 --- /dev/null +++ b/content/billing/using-the-enhanced-billing-platform-for-enterprises/about-enhanced-billing-for-git-large-file-storage.md @@ -0,0 +1,67 @@ +--- +title: About enhanced billing for Git Large File Storage +intro: 'Learn about billing for {% data variables.large_files.product_name_long %}.' +versions: + feature: enhanced-billing-platform +type: overview +topics: + - Billing + - LFS + - Enterprise +shortTitle: About Git LFS billing +permissions: The enhanced billing platform is available to all enterprise accounts, and organizations owned by enterprise accounts, created after June 2, 2024. Enterprises that participated in the beta program also have access to the enhanced billing platform. +--- + +## About billing for {% data variables.large_files.product_name_long %} + +{% note %} + +**Note:** {% data reusables.user-settings.context_switcher %} + +{% endnote %} + +Each {% data variables.product.prodname_dotcom %} account receives a certain amount of free bandwidth and storage for {% data variables.large_files.product_name_short %}, depending on the account's plan. +Bandwidth is billed for each GiB of data downloaded. Storage is billed by calculating an hourly usage rate. To estimate costs for paid {% data variables.large_files.product_name_short %} usage, you can use the {% data variables.product.prodname_dotcom %} [pricing calculator](https://github.com/pricing/calculator?feature=lfs). + +{% data reusables.large_files.owner_quota_only %} + +## Included bandwidth and storage (per month) + +The following amounts of bandwidth and storage are included for free with your {% data variables.product.company_short %} account. + +|Plan | Bandwidth | Storage | +|------- | ------- | ---------| +| {% data variables.product.prodname_free_user %} | {% data variables.large_files.included_bandwidth_free_pro %} | {% data variables.large_files.included_storage_free_pro %} | +| {% data variables.product.prodname_pro %} | {% data variables.large_files.included_bandwidth_free_pro %} | {% data variables.large_files.included_storage_free_pro %} | +| {% data variables.product.prodname_free_team %} for organizations | {% data variables.large_files.included_bandwidth_free_pro %} | {% data variables.large_files.included_storage_free_pro %} | +| {% data variables.product.prodname_team %} | {% data variables.large_files.included_bandwidth_team_enterprise %} | {% data variables.large_files.included_storage_team_enterprise %} | +| {% data variables.product.prodname_ghe_cloud %} | {% data variables.large_files.included_bandwidth_team_enterprise %} | {% data variables.large_files.included_storage_team_enterprise %} | + +## Pricing for paid usage + +If you use more than the included amount of bandwidth or storage for your plan throughout the month, you can still use {% data variables.large_files.product_name_short %}. {% data variables.product.company_short %} bills for additional GiBs of data at the rates below. + +| Product | Price per-GiB (USD) | +| --------- | ------------------- | +| Bandwidth | $0.0875 | +| Storage | $0.07 | + +### Sample storage cost calculation + +For example, if you use 1 GiB above what is included for free for the first 15 days of April, then use 2 GiB starting from April 16th to the end of the month, your storage costs will be calculated in the following way. + +- 1 GiB × 15 days × 24 hours per day = 360 GiB-hours +- 2 GiB × 15 days × 24 hours per day = 720 GiB-hours +- 360 GiB-hours + 720 GiB-hours = 1080 GiB-hours +- 1080 GiB-hours / 720 hours in the month = 1.5 GiB-months + +In this example, {% data variables.product.company_short %} would bill for 1.5 GiB of storage for the month of April. + +## Managing your budget for {% data variables.large_files.product_name_long %} + +The default budget for paid usage is $0 for accounts that do not have a payment method on file. For accounts that do have a payment method on file, the default budget is unlimited. You can take steps to manage your {% data variables.large_files.product_name_short %} budget. For more information, see "[AUTOTITLE](/billing/using-the-enhanced-billing-platform-for-enterprises/preventing-overspending)." + +## Further reading + +- "[AUTOTITLE](/repositories/working-with-files/managing-large-files/about-git-large-file-storage)" +- "[AUTOTITLE](/repositories/working-with-files/managing-large-files/installing-git-large-file-storage)" diff --git a/content/billing/using-the-enhanced-billing-platform-for-enterprises/about-the-enhanced-billing-platform-for-enterprises.md b/content/billing/using-the-enhanced-billing-platform-for-enterprises/about-the-enhanced-billing-platform-for-enterprises.md new file mode 100644 index 0000000000..09280b2640 --- /dev/null +++ b/content/billing/using-the-enhanced-billing-platform-for-enterprises/about-the-enhanced-billing-platform-for-enterprises.md @@ -0,0 +1,41 @@ +--- +title: About the enhanced billing platform for enterprises +intro: This article explores the billing platform's key functionalities, and how it can help you manage your spending more effectively. +versions: + feature: enhanced-billing-platform +type: overview +topics: + - Enterprise +permissions: The enhanced billing platform is available to all enterprise accounts, and organizations owned by enterprise accounts, created after June 2, 2024. Enterprises that participated in the beta program also have access to the enhanced billing platform. +shortTitle: About the enhanced billing platform +--- + +The enhanced billing platform provides better spending control and detailed usage insights with granular controls. + +## Available products + +The following products are available in the enhanced billing platform: + +- {% data variables.product.prodname_actions %} +- {% data variables.product.prodname_github_codespaces %} +- {% data variables.product.prodname_copilot %} +- {% data variables.product.prodname_registry %} +- {% data variables.large_files.product_name_long %} + +## Key functionalities + +With the enhanced billing platform, you can: + +- **Estimate spending:** Understand where your (annual, monthly, etc.) spending is trending based on the usage across costs centers and budgets. +- **Gather insights and data:** Generate usage reports to share with your team or stakeholders, and know if you're on track with your budget. +- **Charge business units:** Improve accountability by creating and assigning organizations, repositories, and members to cost centers. +- **Prevent overspending:** Use budgets and alerts to track and control your spending. +- **Observe and understand spending:** Understand how your spending changes over time and across which products. + +## How do I know if I can access the enhanced billing platform? + +You have access to the enhanced billing platform if you have an enterprise account, or if you are part of an organization owned by an enterprise account, created after June 2, 2024. Enterprises that participated in the beta program also have access to the enhanced billing platform. To check if you have access: + +{% data reusables.enterprise-accounts.access-enterprise %} + +If you have access, there will be a {% octicon "credit-card" aria-hidden="true" %} **Billing & Licensing** option in the enterprise account sidebar. diff --git a/content/billing/using-the-enhanced-billing-platform-for-enterprises/charging-business-units.md b/content/billing/using-the-enhanced-billing-platform-for-enterprises/charging-business-units.md new file mode 100644 index 0000000000..d2577496e2 --- /dev/null +++ b/content/billing/using-the-enhanced-billing-platform-for-enterprises/charging-business-units.md @@ -0,0 +1,80 @@ +--- +title: Charging business units +intro: 'Learn how to create and use cost centers to manage business units at scale.' +versions: + feature: enhanced-billing-platform +type: how_to +topics: + - Enterprise +permissions: The enhanced billing platform is available to all enterprise accounts, and organizations owned by enterprise accounts, created after June 2, 2024. Enterprises that participated in the beta program also have access to the enhanced billing platform. +shortTitle: Charge business units +--- + +To drive accountability and control costs, the enhanced billing platform lets you create cost centers. A cost center manages expenses without generating revenue. You can create cost centers and assign users, organizations, and repositories to them, and set budgets. This enhances spending control and resource allocation. + +If your account is billed to Azure, you will have the option to add an Azure subscription ID. Cost centers allows for multiple Azure subscription IDs so that different business units, within an enterprise, can directly pay for their usage. + +## Creating a cost center + +Create cost centers to monitor and manage expenses for specific organizations or repositories. Multiple organizations and repositories can be assigned to one cost center. + +This method can be used to track only non-seat based products usage such as: + +- {% data variables.product.prodname_actions %} +- {% data variables.product.prodname_github_codespaces %} +- {% data variables.product.prodname_registry %} +- {% data variables.large_files.product_name_short %} + +For seat-based products like {% data variables.product.prodname_copilot %}, assign users to the cost center via the API. + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.billing.enterprise-billing-menu %} +1. Click **Cost centers**. +1. Click **New cost center** in the upper-right corner. +1. In the text box under "Name", enter a name for your cost center. +1. If your account is billed to Azure, you have the option to add an Azure ID. Your credentials will be verified against Azure to ensure the Azure IDs associated to your account are available. +1. Under "Resources", select the organizations and/or repositories that will be a part of the cost center. + + >[!NOTE] An organization or repository can only be assigned to one cost center at a time. + +1. Click **Create cost center**. + +## Adding a budget to a cost center + +After you create a cost center, you can add a monthly budget and receive alerts from the cost center to monitor your spending and usage. See "[AUTOTITLE](/billing/using-the-enhanced-billing-platform-for-enterprises/preventing-overspending)." + +## Viewing cost center usage + +You can view the usage of your cost centers and download the usage data for further analysis. See "[AUTOTITLE](/billing/using-the-enhanced-billing-platform-for-enterprises/gathering-insights-on-your-spending)." + +## Viewing, editing, and deleting cost centers + +You can view, edit, and delete cost centers to manage your business units effectively. + +>[!NOTE] To add or remove members from a cost center, you can use the API. See "[AUTOTITLE](/rest/enterprise-admin/billing)." + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.billing.enterprise-billing-menu %} +1. Click **Cost centers**. +1. Select {% octicon "kebab-horizontal" aria-label="Cost center dropdown" %} to the right of a cost center, then click **View details**, **Edit**, or **Delete**. +1. Follow the prompts. + +### Effects of removing a member from a cost center + +If you add a member to a cost center, any usage accrued (for example, a seat) will immediately start being billed against the cost center. If you remove a member from a cost center, any usage from that point will be billed against the enterprise. For example: + +- On May 1st, an enterprise has three {% data variables.product.prodname_copilot_short %} users. The charges for all three users ($39 each) are billed to the enterprise. +- On May 10th, you create two cost centers: Cost Center 1 and Cost Center 2. User A and User B are assigned to Cost Center 1, and User C to Cost Center 2. Future charges for Users A and B go to Cost Center 1, and for User C to Cost Center 2. +- On May 20th, you remove User A from Cost Center 1. From then on, User A's charges are billed to the enterprise, while User B's charges remain with Cost Center 1, and User C's charges with Cost Center 2. + +The "{% data variables.product.prodname_copilot_short %} Seats Used" tile on the "Overview" page will show fractional usage instead of whole numbers. + +### Effects of deleting a cost center + +If a cost center is deleted, future usage of its resources will be charged to the enterprise. Usage before deletion is billed to the cost center until the end of the billing cycle. + +You can still view the cost center even after you delete it. To do so, select the "Deleted" tab on the cost center page. + +## Further reading + +- "[AUTOTITLE](/rest/enterprise-admin/billing)" diff --git a/content/billing/using-the-enhanced-billing-platform-for-enterprises/estimating-spending-for-your-enterprise.md b/content/billing/using-the-enhanced-billing-platform-for-enterprises/estimating-spending-for-your-enterprise.md new file mode 100644 index 0000000000..8eede9bdeb --- /dev/null +++ b/content/billing/using-the-enhanced-billing-platform-for-enterprises/estimating-spending-for-your-enterprise.md @@ -0,0 +1,42 @@ +--- +title: Estimating spending for your enterprise +intro: 'Understand where your spending is trending based on the usage across products.' +versions: + feature: enhanced-billing-platform +type: how_to +topics: + - Enterprise +permissions: The enhanced billing platform is available to all enterprise accounts, and organizations owned by enterprise accounts, created after June 2, 2024. Enterprises that participated in the beta program also have access to the enhanced billing platform. +shortTitle: Estimate spending +--- + +The enhanced billing platform provides a high-level view of your spending trends based on the usage across products. You can use this information to estimate your spending and make informed decisions about your budget. + +## Viewing your spending + +The "Overview" page provides a high-level view of your spending and budgets. + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.billing.enterprise-billing-menu %} + +On this page, you can view your usage in the following categories: + +- **Current metered usage:** The card on the top left shows the gross metered usage for your enterprise including all cost centers. Click **More details** to view a breakdown of the usage by cost center. +- **Metered usage (w/o cost centers):** The graph shows the gross metered usage for your enterprise excluding cost centers. To view the usage for a specific cost center, select {% octicon "triangle-down" aria-label="Change cost center selection" %}, then click a cost center. + + To view a different time period, select **Time Frame**, then choose a time period. You can also download an image of the graph by clicking {% octicon "kebab-horizontal" aria-label="Open column options" %} on the right. + +- **By organization** and **by repository:** The two cards under the graph show the top five organizations and repositories that generate the most usage. You can click {% octicon "kebab-horizontal" aria-label="Open column options" %} in the upper-right corner of each card to view all usage. +- **By products:** You can use the product tabs to view usage and discounts for different products. Only products with usage are shown. + + ![Screenshot of the product tabs section of the overview page.](/assets/images/help/billing/enhanced-billing-platform-products-tabs.png) + +## Viewing promotion and discounts + +In the "Current promotions and discounts" section in the top right, you can see the total amount of promotions and discounts applied to your account. Click **More details** to view a breakdown of the promotions and discounts. + +## Tracking budgets + +At the bottom of the page, under "Budgets", you can see budgets you have set, and how much you have spent against those budgets. By clicking {% octicon "kebab-horizontal" aria-label="Open column options" %} to the right of a budget, you can edit or delete the budget. + +If you have used all of your budget, a red banner appears at the top of the page. You can click **Update your budget** to increase your budget. diff --git a/content/billing/using-the-enhanced-billing-platform-for-enterprises/gathering-insights-on-your-spending.md b/content/billing/using-the-enhanced-billing-platform-for-enterprises/gathering-insights-on-your-spending.md new file mode 100644 index 0000000000..534eb38455 --- /dev/null +++ b/content/billing/using-the-enhanced-billing-platform-for-enterprises/gathering-insights-on-your-spending.md @@ -0,0 +1,56 @@ +--- +title: Gathering insights on your spending +intro: 'Get insights into the usage of your enterprise members.' +versions: + feature: enhanced-billing-platform +type: how_to +topics: + - Enterprise +permissions: The enhanced billing platform is available to all enterprise accounts, and organizations owned by enterprise accounts, created after June 2, 2024. Enterprises that participated in the beta program also have access to the enhanced billing platform.

As an enterprise owner or billing manager you can view and download your enterprise's usage. As an organization owner, you can view and download usage for the organizations you manage +shortTitle: Gather insights +--- + +The enhanced billing platform provides you with the tools to: + +- **Get insights** into the usage of your enterprise members to understand how your resources are being used. +- **Generate reports** on the usage of your enterprise members to import into your own tools for visualization and analysis. + +## Viewing usage + +You can view the usage of your enterprise members and download the usage data for further analysis. + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.billing.enterprise-billing-menu %} +1. Click **Usage**. +1. To view usage for a specific cost center, click **Metered usage (w/o cost centers) {% octicon "triangle-down" aria-label="Change cost center selection" %}**, then select a cost center. +1. To search or filter the graph, click the search bar. When you click the search bar, you will see a list of suggested filters. +1. To further filter the graph, use the dropdown menus. + + - To see the usage by group, select **Group**, then click a group. + - To filter by time, select **Time Frame**, then click a time period. + - Optionally, to view the monthly budget and actual usage per day, select **Group: None** and **Time Frame: Current Month**. + + Below the graph, you can see a more granular overview of the usage. Click the arrow next to a specific date to see a nested table with usage per SKU, units, price/unit, and actual usage. + + >[!NOTE] The usage graph is configured to represent the start of the month to the end of the month, not your specific billing period. + +1. To request a CSV usage report, select **Get usage report** in the upper-right corner of the page. + +## Viewing license usage + +You can view the license usage of your enterprise members and download the usage data for further analysis. The following license types are available: + +- User +- {% data variables.product.prodname_GH_advanced_security %} +- {% data variables.product.prodname_enterprise %} + +You can also view your active {% data variables.product.prodname_enterprise %} instances and users. + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.billing.enterprise-billing-menu %} +1. Click **Licensing**. +1. To download a CSV report of the license usage, click {% octicon "download" aria-hidden="true" %} **CSV report** to the right of the usage you want to download. + +## Further reading + +- "[AUTOTITLE](/rest/enterprise-admin/billing)" diff --git a/content/billing/using-the-enhanced-billing-platform-for-enterprises/index.md b/content/billing/using-the-enhanced-billing-platform-for-enterprises/index.md new file mode 100644 index 0000000000..712333aaea --- /dev/null +++ b/content/billing/using-the-enhanced-billing-platform-for-enterprises/index.md @@ -0,0 +1,19 @@ +--- +title: Using the enhanced billing platform for enterprises +shortTitle: Enhanced billing platform +intro: 'The enhanced billing platform offers better spending control and detailed visibility to help you understand your usage with more granular controls.' +redirect_from: + - /early-access/billing/billing-private-beta +permissions: The enhanced billing platform is available to all enterprise accounts, and organizations owned by enterprise accounts, created after June 2, 2024. Enterprises that participated in the beta program also have access to the enhanced billing platform. +versions: + feature: enhanced-billing-platform +children: + - /about-the-enhanced-billing-platform-for-enterprises + - /roles-for-the-enhanced-billing-platform + - /estimating-spending-for-your-enterprise + - /gathering-insights-on-your-spending + - /charging-business-units + - /preventing-overspending + - /managing-your-payment-and-billing-information + - /about-enhanced-billing-for-git-large-file-storage +--- diff --git a/content/billing/using-the-enhanced-billing-platform-for-enterprises/managing-your-payment-and-billing-information.md b/content/billing/using-the-enhanced-billing-platform-for-enterprises/managing-your-payment-and-billing-information.md new file mode 100644 index 0000000000..e60e7882fd --- /dev/null +++ b/content/billing/using-the-enhanced-billing-platform-for-enterprises/managing-your-payment-and-billing-information.md @@ -0,0 +1,47 @@ +--- +title: Managing your payment and billing information +intro: 'You can view your payment information and history, and update your billing contacts.' +versions: + feature: enhanced-billing-platform +type: how_to +topics: + - Enterprise +permissions: The enhanced billing platform is available to all enterprise accounts, and organizations owned by enterprise accounts, created after June 2, 2024. Enterprises that participated in the beta program also have access to the enhanced billing platform. +shortTitle: Manage your payment information +--- + +You can view your payment information and history, and update your billing contacts. Supported payment methods include: + +- Credit card +- PayPal +- Azure Subscription ID + +## Viewing payment information + +You can view and edit your billing information, update your payment method, and view active coupons. + +>[!NOTE] This only applies to invoiced enterprise accounts. + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.billing.enterprise-billing-menu %} +1. Click **Payment information**. +1. Click {% octicon "pencil" aria-label="The edit icon" %} to edit your payment information or {% octicon "trash" aria-label="The trash icon" %} to delete your payment method. +1. Follow the prompts. + +## Viewing payment history + +You can view your payment history, including the date, amount, and payment method. You can also download past payments. + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.billing.enterprise-billing-menu %} +1. Click **Payment history**. + +## Managing billing contacts + +You can add an email address to receive billing notifications regarding payments and budget threshold alerts. + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.billing.enterprise-billing-menu %} +1. Click **Billing contacts**. +1. Click **Add** in the upper-right corner and follow the prompt. +1. Click {% octicon "pencil" aria-label="The edit icon" %} to edit the primary billing contact or {% octicon "kebab-horizontal" aria-label="Show options" %} to either remove or make a contact the primary billing contact. diff --git a/content/billing/using-the-enhanced-billing-platform-for-enterprises/preventing-overspending.md b/content/billing/using-the-enhanced-billing-platform-for-enterprises/preventing-overspending.md new file mode 100644 index 0000000000..e64bd03e82 --- /dev/null +++ b/content/billing/using-the-enhanced-billing-platform-for-enterprises/preventing-overspending.md @@ -0,0 +1,60 @@ +--- +title: Preventing overspending +intro: 'Learn how to set budgets and track when they are nearing or above a threshold to prevent overspending.' +versions: + feature: enhanced-billing-platform +type: how_to +topics: + - Enterprise +permissions: The enhanced billing platform is available to all enterprise accounts, and organizations owned by enterprise accounts, created after June 2, 2024. Enterprises that participated in the beta program also have access to the enhanced billing platform. +shortTitle: Prevent overspending +--- + +Budgets and alerts allow you to track spending for your enterprise, organizations, repositories, or cost centers. By setting a monthly budget, you can monitor your spending and receive notifications by email when your spending exceeds certain preset percentages of your budget threshold. This can help you stay within your budget and avoid overspending. + +The budget only applies to expenses incurred from the date of its creation onwards. Any expenses incurred prior to the creation of the budget will not be included in the calculations + +Budgets are not applicable to: + +- Seat-based products such as {% data variables.product.prodname_copilot %}, {% data variables.product.prodname_GH_advanced_security %}, and {% data variables.product.prodname_enterprise %}. +- Pre-paid volume licenses. + +## Viewing budgets + +If you are an enterprise owner or billing manager, your enterprise's budget will be listed at the top of the "Budgets and alerts" page, followed by the budgets for your organizations and cost centers. As an organization owner, you will be able to view the budgets for your organizations, repositories, and cost centers. + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.billing.enterprise-billing-menu %} +1. Click **Budgets and alerts**. +1. To filter by scope, select **Scope**, then choose a scope. + +## Creating a budget + +As an enterprise owner or billing manager, you can set the budget for your enterprise, an organization within your enterprise, or a cost center. As an organization owner, you are able to set the budgets for the repositories you manage. + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.billing.enterprise-billing-menu %} +1. Click **Budgets and alerts**. +1. Click **New budget**. +1. Under "Products", select the metered product to include in this budget. +1. Under "Budget scope", set the scope of spending for this budget. +1. Under "Budget", set a budget amount. + + To stop any usage and further spending once your enterprise or organization reaches the budget limit, select **Stop usage when budget limit is reached**. This does not apply to {% data variables.product.prodname_copilot %} usage. + + >[!IMPORTANT] If you do not select **Stop usage when budget limit is reached**, you will be notified by email if you exceed your budget, but usage **will not** be stopped. + +1. To receive an alert if your budget has reached 75%, 90% and 100% thresholds, select **Receive budget threshold alerts** under "Alerts". When the budget has reached the specific threshold, you will be notified via email and a banner on {% data variables.product.prodname_dotcom %}. You may opt out at any time. + + Under "Alert Recipients", select the people who will receive the alerts. + +1. Click **Create budget**. + +## Editing or deleting a budget + +You can edit or delete a budget at any time, but you cannot change the budget scope. + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.billing.enterprise-billing-menu %} +1. To edit a budget, in the list of budgets, click {% octicon "kebab-horizontal" aria-label="View actions" %} next to the budget you want to edit, and click {% octicon "pencil" aria-hidden="true" %} **Edit** or {% octicon "trash" aria-hidden="true" %} **Delete**. +1. Follow the prompts. diff --git a/content/billing/using-the-enhanced-billing-platform-for-enterprises/roles-for-the-enhanced-billing-platform.md b/content/billing/using-the-enhanced-billing-platform-for-enterprises/roles-for-the-enhanced-billing-platform.md new file mode 100644 index 0000000000..3d1cf25197 --- /dev/null +++ b/content/billing/using-the-enhanced-billing-platform-for-enterprises/roles-for-the-enhanced-billing-platform.md @@ -0,0 +1,33 @@ +--- +title: Roles for the enhanced billing platform +intro: 'Learn about the three different roles that have access to the enhanced billing platform.' +versions: + feature: enhanced-billing-platform +type: reference +topics: + - Enterprise +permissions: The enhanced billing platform is available to all enterprise accounts, and organizations owned by enterprise accounts, created after June 2, 2024. Enterprises that participated in the beta program also have access to the enhanced billing platform. +--- + +Three roles have access to the enhanced billing platform: enterprise owners, billing managers, and organization owners. See "[AUTOTITLE](/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/roles-in-an-enterprise)." + +## Enterprise owners and billing managers + +As an enterprise owner or a billing manager, you can access the enhanced billing platform for your enterprise account. You can: + +- View all metered usage in your enterprise and set budgets for your enterprise and organizations. +- See enterprise usage, including costs for organizations and repositories. +- Download CSV usage reports for products your enterprise is using. +- Create cost centers for all organizations within your enterprise. +- Set budgets for your enterprise and organizations. + +## Organization owners + +As an organization owner, you have administrative access to your organization. You can: + +- View metered usage and budgets for the organizations and repositories you manage. +- View promotions and discounts. +- View spending for pre-purchased user licenses for {% data variables.product.prodname_enterprise %} or {% data variables.product.prodname_GH_advanced_security %} based on your usage. +- See organization usage and download CSV usage reports. +- Create cost centers by grouping repositories you manage. +- Set budgets for the repositories you manage. diff --git a/data/features/enhanced-billing-platform.yml b/data/features/enhanced-billing-platform.yml new file mode 100644 index 0000000000..2f0275b59d --- /dev/null +++ b/data/features/enhanced-billing-platform.yml @@ -0,0 +1,3 @@ +# Versions for which the enhanced billing platform is available +versions: + ghec: '*' diff --git a/data/reusables/billing/enhanced-billing-platform-licenses.md b/data/reusables/billing/enhanced-billing-platform-licenses.md new file mode 100644 index 0000000000..7882ef0647 --- /dev/null +++ b/data/reusables/billing/enhanced-billing-platform-licenses.md @@ -0,0 +1,3 @@ +>[!NOTE] Enterprise accounts, and organizations owned by enterprise accounts, created after June 2, 2024, have access to the enhanced billing platform. Enterprises that participated in the beta program also have access to the enhanced billing platform. +> +> The page to view license usage has moved in the enhanced billing platform. See "[AUTOTITLE](/billing/using-the-enhanced-billing-platform-for-enterprises/gathering-insights-on-your-spending#viewing-license-usage)." diff --git a/data/reusables/billing/enhanced-billing-platform.md b/data/reusables/billing/enhanced-billing-platform.md new file mode 100644 index 0000000000..8f23395b8b --- /dev/null +++ b/data/reusables/billing/enhanced-billing-platform.md @@ -0,0 +1,3 @@ +>[!NOTE] Enterprise accounts, and organizations owned by enterprise accounts, created after June 2, 2024, have access to the enhanced billing platform. Enterprises that participated in the beta program also have access to the enhanced billing platform. +> +> The enhanced billing platform offers better spending control and detailed visibility to help you understand your usage with more granular controls. See "[AUTOTITLE](/billing/using-the-enhanced-billing-platform-for-enterprises)." diff --git a/data/reusables/billing/enterprise-billing-menu.md b/data/reusables/billing/enterprise-billing-menu.md new file mode 100644 index 0000000000..7169fc9fa6 --- /dev/null +++ b/data/reusables/billing/enterprise-billing-menu.md @@ -0,0 +1 @@ +1. In the enterprise account sidebar, click {% octicon "credit-card" aria-hidden="true" %} **Billing & Licensing**. diff --git a/data/reusables/large_files/owner_quota_only.md b/data/reusables/large_files/owner_quota_only.md index 044866ef58..463985208f 100644 --- a/data/reusables/large_files/owner_quota_only.md +++ b/data/reusables/large_files/owner_quota_only.md @@ -1 +1 @@ -Bandwidth and storage usage only count against the repository owner's quotas. In forks, bandwidth and storage usage count against the root of the repository network. Anyone with write access to a repository can push files to {% data variables.large_files.product_name_short %} without affecting their personal bandwidth and storage quotas or purchasing data packs. Forking and pulling a repository counts against the parent repository's bandwidth limit. +Bandwidth and storage usage only count against the repository owner's account. In forks, bandwidth and storage usage count against the root of the repository network. Anyone with write access to a repository can push files to {% data variables.large_files.product_name_short %} without affecting their personal bandwidth and storage{% ifversion enhanced-billing-platform %} usage{% else %} quotas or purchasing data packs{% endif %}. Forking and pulling a repository counts against the parent repository's bandwidth usage. diff --git a/data/variables/large_files.yml b/data/variables/large_files.yml index 6b214af008..6329dbee01 100644 --- a/data/variables/large_files.yml +++ b/data/variables/large_files.yml @@ -3,6 +3,13 @@ product_name_short: 'Git LFS' warning_size: '50 MiB' max_github_size: '100 MiB' max_github_browser_size: '25 MiB' +# included per month bandwidth and storage for Git LFS for GitHub Free and Pro accounts +included_bandwidth_free_pro: '10 GiB' +included_storage_free_pro: '10 GiB' +# included per month bandwidth and storage for Git LFS for GitHub Team and Enterprise accounts +included_bandwidth_team_enterprise: '250 GiB' +included_storage_team_enterprise: '250 GiB' +# storage and bandwidth quota for billing that is not Billing vNext initial_bandwidth_quota: '1 GiB' initial_storage_quota: '1 GiB' max_lfs_size: '2 GiB' diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json index 15329d0cb0..df94354b3e 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json @@ -3146,7 +3146,7 @@ }, { "category": "repos", - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3155,7 +3155,7 @@ }, { "category": "repos", - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3164,7 +3164,7 @@ }, { "category": "repos", - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json index a88a587eaf..ece7165175 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json @@ -4345,19 +4345,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json index 06530d4edd..f42e6aafb7 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json @@ -3827,7 +3827,7 @@ }, { "category": "repos", - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3838,7 +3838,7 @@ }, { "category": "repos", - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3849,7 +3849,7 @@ }, { "category": "repos", - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json index abce8e27db..08f18bafc1 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json @@ -3877,19 +3877,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json index a88a587eaf..ece7165175 100644 --- a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json @@ -4345,19 +4345,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json index 2237977564..dc18b0c7e1 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json @@ -3806,7 +3806,7 @@ }, { "category": "repos", - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3815,7 +3815,7 @@ }, { "category": "repos", - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3824,7 +3824,7 @@ }, { "category": "repos", - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json index f84adb2ce4..228bae6262 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json @@ -4673,19 +4673,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json index 0084402a5d..e59fd062a3 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json @@ -102,6 +102,39 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "enterprise-admin", + "slug": "get-all-cost-centers-for-an-enterprise", + "subcategory": "billing", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/settings/billing/cost-centers", + "access": "write", + "user-to-server": false, + "server-to-server": false, + "additional-permissions": false + }, + { + "category": "enterprise-admin", + "slug": "add-users-to-a-cost-center", + "subcategory": "billing", + "verb": "post", + "requestPath": "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource", + "access": "write", + "user-to-server": false, + "server-to-server": false, + "additional-permissions": false + }, + { + "category": "enterprise-admin", + "slug": "remove-users-from-a-cost-center", + "subcategory": "billing", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource", + "access": "write", + "user-to-server": false, + "server-to-server": false, + "additional-permissions": false + }, { "category": "enterprise-admin", "slug": "get-github-packages-billing-for-an-enterprise", @@ -124,6 +157,17 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "enterprise-admin", + "slug": "get-billing-usage-report-for-an-enterprise", + "subcategory": "billing", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/settings/billing/usage", + "access": "write", + "user-to-server": false, + "server-to-server": false, + "additional-permissions": false + }, { "category": "copilot", "slug": "get-a-summary-of-copilot-usage-for-organization-members", @@ -4631,7 +4675,7 @@ }, { "category": "repos", - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -4642,7 +4686,7 @@ }, { "category": "repos", - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -4653,7 +4697,7 @@ }, { "category": "repos", - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json index 33f4f15308..48998bd634 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json @@ -4205,19 +4205,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json index f84adb2ce4..228bae6262 100644 --- a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json @@ -4673,19 +4673,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat-permissions.json index cec20966e0..41d6397130 100644 --- a/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat-permissions.json @@ -2843,7 +2843,7 @@ }, { "category": "repos", - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -2852,7 +2852,7 @@ }, { "category": "repos", - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -2861,7 +2861,7 @@ }, { "category": "repos", - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", diff --git a/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat.json index 6745da83dc..e7ccd1b495 100644 --- a/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat.json @@ -3697,19 +3697,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-permissions.json index ec5c922a48..f3970d4b5e 100644 --- a/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-permissions.json @@ -3451,7 +3451,7 @@ }, { "category": "repos", - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3462,7 +3462,7 @@ }, { "category": "repos", - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3473,7 +3473,7 @@ }, { "category": "repos", - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", diff --git a/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-rest.json index 993495d6f7..2f514d436f 100644 --- a/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-rest.json @@ -3515,19 +3515,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.10-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghes-3.10-2022-11-28/user-to-server-rest.json index 6745da83dc..e7ccd1b495 100644 --- a/src/github-apps/data/ghes-3.10-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghes-3.10-2022-11-28/user-to-server-rest.json @@ -3697,19 +3697,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat-permissions.json index 9b8356ad07..b4185a6342 100644 --- a/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat-permissions.json @@ -2915,7 +2915,7 @@ }, { "category": "repos", - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -2924,7 +2924,7 @@ }, { "category": "repos", - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -2933,7 +2933,7 @@ }, { "category": "repos", - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", diff --git a/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat.json index 6db1001553..10abe0d521 100644 --- a/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat.json @@ -3769,19 +3769,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-permissions.json index 45c220a02e..0aede39471 100644 --- a/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-permissions.json @@ -3539,7 +3539,7 @@ }, { "category": "repos", - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3550,7 +3550,7 @@ }, { "category": "repos", - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3561,7 +3561,7 @@ }, { "category": "repos", - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", diff --git a/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-rest.json index bc8581cd4e..3830f8d747 100644 --- a/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-rest.json @@ -3587,19 +3587,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.11-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghes-3.11-2022-11-28/user-to-server-rest.json index 6db1001553..10abe0d521 100644 --- a/src/github-apps/data/ghes-3.11-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghes-3.11-2022-11-28/user-to-server-rest.json @@ -3769,19 +3769,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat-permissions.json index bb9dbef2f5..e6281bd623 100644 --- a/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat-permissions.json @@ -2960,7 +2960,7 @@ }, { "category": "repos", - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -2969,7 +2969,7 @@ }, { "category": "repos", - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -2978,7 +2978,7 @@ }, { "category": "repos", - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", diff --git a/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat.json index f3ab52127c..95c3ef8b0d 100644 --- a/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat.json @@ -3799,19 +3799,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-permissions.json index cce825844a..2c7aebf516 100644 --- a/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-permissions.json @@ -3594,7 +3594,7 @@ }, { "category": "repos", - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3605,7 +3605,7 @@ }, { "category": "repos", - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3616,7 +3616,7 @@ }, { "category": "repos", - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", diff --git a/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-rest.json index c7eb11b793..cc85fbb6b1 100644 --- a/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-rest.json @@ -3617,19 +3617,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.12-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghes-3.12-2022-11-28/user-to-server-rest.json index f3ab52127c..95c3ef8b0d 100644 --- a/src/github-apps/data/ghes-3.12-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghes-3.12-2022-11-28/user-to-server-rest.json @@ -3799,19 +3799,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.13-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.13-2022-11-28/fine-grained-pat-permissions.json index 1c2e1ef7ce..56fe18ea53 100644 --- a/src/github-apps/data/ghes-3.13-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.13-2022-11-28/fine-grained-pat-permissions.json @@ -3161,7 +3161,7 @@ }, { "category": "repos", - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3170,7 +3170,7 @@ }, { "category": "repos", - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3179,7 +3179,7 @@ }, { "category": "repos", - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", diff --git a/src/github-apps/data/ghes-3.13-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghes-3.13-2022-11-28/fine-grained-pat.json index 5a2700fe97..89d8fea4f3 100644 --- a/src/github-apps/data/ghes-3.13-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghes-3.13-2022-11-28/fine-grained-pat.json @@ -3949,19 +3949,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.13-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.13-2022-11-28/server-to-server-permissions.json index 10c140f925..b19ceb25df 100644 --- a/src/github-apps/data/ghes-3.13-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.13-2022-11-28/server-to-server-permissions.json @@ -3837,7 +3837,7 @@ }, { "category": "repos", - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3848,7 +3848,7 @@ }, { "category": "repos", - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3859,7 +3859,7 @@ }, { "category": "repos", - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", diff --git a/src/github-apps/data/ghes-3.13-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghes-3.13-2022-11-28/server-to-server-rest.json index 397e5b89b2..a1cc0911a7 100644 --- a/src/github-apps/data/ghes-3.13-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghes-3.13-2022-11-28/server-to-server-rest.json @@ -3767,19 +3767,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.13-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghes-3.13-2022-11-28/user-to-server-rest.json index 5a2700fe97..89d8fea4f3 100644 --- a/src/github-apps/data/ghes-3.13-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghes-3.13-2022-11-28/user-to-server-rest.json @@ -3949,19 +3949,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat-permissions.json index dc1d4c47fb..4eaac9d30d 100644 --- a/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat-permissions.json @@ -2687,7 +2687,7 @@ }, { "category": "repos", - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -2696,7 +2696,7 @@ }, { "category": "repos", - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -2705,7 +2705,7 @@ }, { "category": "repos", - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", diff --git a/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat.json index 6fa6a9b83f..dee659738e 100644 --- a/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat.json @@ -3601,19 +3601,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-permissions.json index 8a18cbc388..cce8ce886b 100644 --- a/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-permissions.json @@ -3263,7 +3263,7 @@ }, { "category": "repos", - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3274,7 +3274,7 @@ }, { "category": "repos", - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", @@ -3285,7 +3285,7 @@ }, { "category": "repos", - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", diff --git a/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-rest.json index a34cf1d7b7..580e75e474 100644 --- a/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-rest.json @@ -3413,19 +3413,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/data/ghes-3.9-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghes-3.9-2022-11-28/user-to-server-rest.json index 6fa6a9b83f..dee659738e 100644 --- a/src/github-apps/data/ghes-3.9-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghes-3.9-2022-11-28/user-to-server-rest.json @@ -3601,19 +3601,19 @@ "requestPath": "/repos/{owner}/{repo}/tags" }, { - "slug": "list-tag-protection-states-for-a-repository", + "slug": "deprecated---list-tag-protection-states-for-a-repository", "subcategory": "tags", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "create-a-tag-protection-state-for-a-repository", + "slug": "deprecated---create-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection" }, { - "slug": "delete-a-tag-protection-state-for-a-repository", + "slug": "deprecated---delete-a-tag-protection-state-for-a-repository", "subcategory": "tags", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}" diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index 2ee2e4e002..b358da1b74 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "0cc5a38280c755ac33acf9a7ea54840a421b22ea" + "sha": "1564670c7376f4e5b1bff44d284d578f2ac982b4" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index 1cf9c2f112..5b03edfc63 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -212742,7 +212742,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,\nand number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.

\n

The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.

\n

Only the owners and billing managers of enterprises with a Copilot Business or Enterprise subscription can view Copilot usage\nmetrics for the enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the copilot, manage_billing:copilot, admin:enterprise, or manage_billing:enterprise scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,\nand number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.

\n

The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.

\n

Only owners and billing managers can view Copilot usage metrics for the enterprise.

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or read:enterprise scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -213027,7 +213027,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.

\n

The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.

\n

Copilot Business or Copilot Enterprise organization owners, and owners and billing managers of their parent enterprises, can view\nCopilot usage metrics.

\n

OAuth app tokens and personal access tokens (classic) need the copilot, manage_billing:copilot, admin:org, admin:enterprise, or manage_billing:enterprise scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.

\n

The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.

\n

Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot, read:org, or read:enterprise scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -490093,7 +490093,7 @@ "serverUrl": "https://api.github.com", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", - "title": "List tag protection states for a repository", + "title": "Deprecated - List tag protection states for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -490195,7 +490195,7 @@ } ], "previews": [], - "descriptionHTML": "

This returns the tag protection states of a repository.

\n

This information is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This returns the tag protection states of a repository.

\n

This information is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "200", @@ -490215,7 +490215,7 @@ "serverUrl": "https://api.github.com", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", - "title": "Create a tag protection state for a repository", + "title": "Deprecated - Create a tag protection state for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -490323,7 +490323,7 @@ } ], "previews": [], - "descriptionHTML": "

This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "201", @@ -490343,7 +490343,7 @@ "serverUrl": "https://api.github.com", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", - "title": "Delete a tag protection state for a repository", + "title": "Deprecated - Delete a tag protection state for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -490405,7 +490405,7 @@ } ], "previews": [], - "descriptionHTML": "

This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "204", diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 1fe4aacdb4..61770e76f5 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -224275,7 +224275,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,\nand number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.

\n

The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.

\n

Only the owners and billing managers of enterprises with a Copilot Business or Enterprise subscription can view Copilot usage\nmetrics for the enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the copilot, manage_billing:copilot, admin:enterprise, or manage_billing:enterprise scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,\nand number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.

\n

The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.

\n

Only owners and billing managers can view Copilot usage metrics for the enterprise.

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or read:enterprise scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -224560,7 +224560,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.

\n

The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.

\n

Copilot Business or Copilot Enterprise organization owners, and owners and billing managers of their parent enterprises, can view\nCopilot usage metrics.

\n

OAuth app tokens and personal access tokens (classic) need the copilot, manage_billing:copilot, admin:org, admin:enterprise, or manage_billing:enterprise scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.

\n

The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.

\n

Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot, read:org, or read:enterprise scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -249197,6 +249197,349 @@ } ] }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/settings/billing/cost-centers", + "title": "Get all cost centers for an enterprise", + "category": "enterprise-admin", + "subcategory": "billing", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "progAccess": { + "userToServerRest": false, + "serverToServer": false, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" business permissions": "write" + } + ] + }, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

Response when getting cost centers

", + "example": { + "costCenters": [ + { + "id": "2eeb8ffe-6903-11ee-8c99-0242ac120002", + "name": "Cost Center Name", + "resources": [ + { + "type": "User", + "name": "Monalisa" + } + ] + } + ] + }, + "schema": { + "type": "object", + "properties": { + "costCenters": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the cost center." + }, + "name": { + "type": "string", + "description": "Name of the cost center." + }, + "resources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of the resource." + }, + "name": { + "type": "string", + "description": "Name of the resource." + } + }, + "required": [ + "type", + "name" + ] + } + } + }, + "required": [ + "id", + "name", + "resources" + ] + } + } + } + } + } + } + ], + "previews": [], + "descriptionHTML": "

Gets a list of all the cost centers for an enterprise.

", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

Response when getting cost centers

" + }, + { + "httpStatusCode": "400", + "description": "

Bad Request

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "500", + "description": "

Internal Error

" + }, + { + "httpStatusCode": "503", + "description": "

Service unavailable

" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource", + "title": "Add users to a cost center", + "category": "enterprise-admin", + "subcategory": "billing", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "cost_center_id", + "description": "

The ID corresponding to the cost center.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "array of strings", + "name": "users", + "in": "body", + "description": "

The usernames of the users to add to the cost center.

", + "isRequired": true + } + ], + "progAccess": { + "userToServerRest": false, + "serverToServer": false, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" business permissions": "write" + } + ] + }, + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "users": [ + "monalisa" + ] + }, + "parameters": { + "enterprise": "ENTERPRISE", + "cost_center_id": "COST_CENTER_ID" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

Response when adding resources to a cost center

", + "example": { + "message": "Resources successfully added to the cost center." + }, + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + } + } + } + ], + "previews": [], + "descriptionHTML": "

Adds users to a cost center.

\n

The usage for the users will be charged to the cost center's budget. The authenticated user must be an enterprise admin in order to use this endpoint.

", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

Response when adding resources to a cost center

" + }, + { + "httpStatusCode": "400", + "description": "

Bad Request

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "500", + "description": "

Internal Error

" + }, + { + "httpStatusCode": "503", + "description": "

Service unavailable

" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource", + "title": "Remove users from a cost center", + "category": "enterprise-admin", + "subcategory": "billing", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "cost_center_id", + "description": "

The ID corresponding to the cost center.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "array of strings", + "name": "users", + "in": "body", + "description": "

The usernames of the users to remove from the cost center.

", + "isRequired": true + } + ], + "progAccess": { + "userToServerRest": false, + "serverToServer": false, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" business permissions": "write" + } + ] + }, + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "users": [ + "monalisa" + ] + }, + "parameters": { + "enterprise": "ENTERPRISE", + "cost_center_id": "COST_CENTER_ID" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

Response when removing resources from a cost center

", + "example": { + "message": "Resources successfully removed from the cost center." + }, + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + } + } + } + ], + "previews": [], + "descriptionHTML": "

Remove users from a cost center.

\n

The usage for the users will no longer be charged to the cost center's budget. The authenticated user must be an enterprise admin in order to use this endpoint.

", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

Response when removing resources from a cost center

" + }, + { + "httpStatusCode": "400", + "description": "

Bad Request

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "500", + "description": "

Internal Error

" + }, + { + "httpStatusCode": "503", + "description": "

Service unavailable

" + } + ] + }, { "serverUrl": "https://api.github.com", "verb": "get", @@ -249360,6 +249703,208 @@ "description": "

OK

" } ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/settings/billing/usage", + "title": "Get billing usage report for an enterprise", + "category": "enterprise-admin", + "subcategory": "billing", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "

If specified, only return results for a single year. The value of year is an integer with four digits representing a year. For example, 2023.

", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "

If specified, only return results for a single month. The value of month is an integer between 1 and 12.

", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "

If specified, only return results for a single day. The value of day is an integer between 1 and 31.

", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "hour", + "description": "

If specified, only return results for a single hour. The value of hour is an integer between 0 and 23.

", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "cost_center_id", + "description": "

The ID corresponding to a cost center.

", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "progAccess": { + "userToServerRest": false, + "serverToServer": false, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" business permissions": "write" + } + ] + }, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

Response when getting a billing usage report

", + "example": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "organizationName": "GitHub", + "repositoryName": "github/example" + } + ] + }, + "schema": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } + } + } + } + } + } + ], + "previews": [], + "descriptionHTML": "

Gets a report of the total usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.

", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

Response when getting a billing usage report

" + }, + { + "httpStatusCode": "400", + "description": "

Bad Request

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "500", + "description": "

Internal Error

" + }, + { + "httpStatusCode": "503", + "description": "

Service unavailable

" + } + ] } ], "code-security-and-analysis": [ @@ -513245,7 +513790,7 @@ "serverUrl": "https://api.github.com", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", - "title": "List tag protection states for a repository", + "title": "Deprecated - List tag protection states for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -513347,7 +513892,7 @@ } ], "previews": [], - "descriptionHTML": "

This returns the tag protection states of a repository.

\n

This information is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This returns the tag protection states of a repository.

\n

This information is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "200", @@ -513367,7 +513912,7 @@ "serverUrl": "https://api.github.com", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", - "title": "Create a tag protection state for a repository", + "title": "Deprecated - Create a tag protection state for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -513475,7 +514020,7 @@ } ], "previews": [], - "descriptionHTML": "

This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "201", @@ -513495,7 +514040,7 @@ "serverUrl": "https://api.github.com", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", - "title": "Delete a tag protection state for a repository", + "title": "Deprecated - Delete a tag protection state for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -513557,7 +514102,7 @@ } ], "previews": [], - "descriptionHTML": "

This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "204", diff --git a/src/rest/data/ghes-3.10-2022-11-28/schema.json b/src/rest/data/ghes-3.10-2022-11-28/schema.json index 2f71b40bba..b2ec24f8d1 100644 --- a/src/rest/data/ghes-3.10-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.10-2022-11-28/schema.json @@ -444042,7 +444042,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", - "title": "List tag protection states for a repository", + "title": "Deprecated - List tag protection states for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -444144,7 +444144,7 @@ } ], "previews": [], - "descriptionHTML": "

This returns the tag protection states of a repository.

\n

This information is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This returns the tag protection states of a repository.

\n

This information is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "200", @@ -444164,7 +444164,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", - "title": "Create a tag protection state for a repository", + "title": "Deprecated - Create a tag protection state for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -444272,7 +444272,7 @@ } ], "previews": [], - "descriptionHTML": "

This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "201", @@ -444292,7 +444292,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", - "title": "Delete a tag protection state for a repository", + "title": "Deprecated - Delete a tag protection state for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -444354,7 +444354,7 @@ } ], "previews": [], - "descriptionHTML": "

This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "204", diff --git a/src/rest/data/ghes-3.11-2022-11-28/schema.json b/src/rest/data/ghes-3.11-2022-11-28/schema.json index 4e7a75af03..7445b22951 100644 --- a/src/rest/data/ghes-3.11-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.11-2022-11-28/schema.json @@ -456540,7 +456540,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", - "title": "List tag protection states for a repository", + "title": "Deprecated - List tag protection states for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -456642,7 +456642,7 @@ } ], "previews": [], - "descriptionHTML": "

This returns the tag protection states of a repository.

\n

This information is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This returns the tag protection states of a repository.

\n

This information is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "200", @@ -456662,7 +456662,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", - "title": "Create a tag protection state for a repository", + "title": "Deprecated - Create a tag protection state for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -456770,7 +456770,7 @@ } ], "previews": [], - "descriptionHTML": "

This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "201", @@ -456790,7 +456790,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", - "title": "Delete a tag protection state for a repository", + "title": "Deprecated - Delete a tag protection state for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -456852,7 +456852,7 @@ } ], "previews": [], - "descriptionHTML": "

This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "204", diff --git a/src/rest/data/ghes-3.12-2022-11-28/schema.json b/src/rest/data/ghes-3.12-2022-11-28/schema.json index 753c205bf0..2b8c09c6b6 100644 --- a/src/rest/data/ghes-3.12-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.12-2022-11-28/schema.json @@ -459909,7 +459909,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", - "title": "List tag protection states for a repository", + "title": "Deprecated - List tag protection states for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -460011,7 +460011,7 @@ } ], "previews": [], - "descriptionHTML": "

This returns the tag protection states of a repository.

\n

This information is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This returns the tag protection states of a repository.

\n

This information is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "200", @@ -460031,7 +460031,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", - "title": "Create a tag protection state for a repository", + "title": "Deprecated - Create a tag protection state for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -460139,7 +460139,7 @@ } ], "previews": [], - "descriptionHTML": "

This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "201", @@ -460159,7 +460159,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", - "title": "Delete a tag protection state for a repository", + "title": "Deprecated - Delete a tag protection state for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -460221,7 +460221,7 @@ } ], "previews": [], - "descriptionHTML": "

This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "204", diff --git a/src/rest/data/ghes-3.13-2022-11-28/schema.json b/src/rest/data/ghes-3.13-2022-11-28/schema.json index f5a85f1edf..3e45285bbc 100644 --- a/src/rest/data/ghes-3.13-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.13-2022-11-28/schema.json @@ -465338,7 +465338,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", - "title": "List tag protection states for a repository", + "title": "Deprecated - List tag protection states for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -465440,7 +465440,7 @@ } ], "previews": [], - "descriptionHTML": "

This returns the tag protection states of a repository.

\n

This information is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This returns the tag protection states of a repository.

\n

This information is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "200", @@ -465460,7 +465460,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", - "title": "Create a tag protection state for a repository", + "title": "Deprecated - Create a tag protection state for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -465568,7 +465568,7 @@ } ], "previews": [], - "descriptionHTML": "

This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "201", @@ -465588,7 +465588,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", - "title": "Delete a tag protection state for a repository", + "title": "Deprecated - Delete a tag protection state for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -465650,7 +465650,7 @@ } ], "previews": [], - "descriptionHTML": "

This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "204", diff --git a/src/rest/data/ghes-3.9-2022-11-28/schema.json b/src/rest/data/ghes-3.9-2022-11-28/schema.json index aa685440df..4cf1109fbf 100644 --- a/src/rest/data/ghes-3.9-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.9-2022-11-28/schema.json @@ -437493,7 +437493,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", "requestPath": "/repos/{owner}/{repo}/tags/protection", - "title": "List tag protection states for a repository", + "title": "Deprecated - List tag protection states for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -437595,7 +437595,7 @@ } ], "previews": [], - "descriptionHTML": "

This returns the tag protection states of a repository.

\n

This information is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This returns the tag protection states of a repository.

\n

This information is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "200", @@ -437615,7 +437615,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "post", "requestPath": "/repos/{owner}/{repo}/tags/protection", - "title": "Create a tag protection state for a repository", + "title": "Deprecated - Create a tag protection state for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -437723,7 +437723,7 @@ } ], "previews": [], - "descriptionHTML": "

This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "201", @@ -437743,7 +437743,7 @@ "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", "requestPath": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", - "title": "Delete a tag protection state for a repository", + "title": "Deprecated - Delete a tag protection state for a repository", "category": "repos", "subcategory": "tags", "parameters": [ @@ -437805,7 +437805,7 @@ } ], "previews": [], - "descriptionHTML": "

This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", + "descriptionHTML": "

Note: This operation is deprecated and will be removed after August 30th 2024\nUse the \"Repository Rulesets\" endpoint instead.

\n

This deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.

", "statusCodes": [ { "httpStatusCode": "204", diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index cb87fe421f..58c2529a32 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -47,5 +47,5 @@ ] } }, - "sha": "0cc5a38280c755ac33acf9a7ea54840a421b22ea" + "sha": "1564670c7376f4e5b1bff44d284d578f2ac982b4" } \ No newline at end of file diff --git a/src/webhooks/data/fpt/schema.json b/src/webhooks/data/fpt/schema.json index 3dfd36f4c1..cb4060853f 100644 --- a/src/webhooks/data/fpt/schema.json +++ b/src/webhooks/data/fpt/schema.json @@ -45159,11 +45159,6 @@ "description": "", "isRequired": true }, - { - "type": "object", - "name": "custom_properties", - "description": "

The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.

" - }, { "type": "string", "name": "default_branch", diff --git a/src/webhooks/data/ghec/schema.json b/src/webhooks/data/ghec/schema.json index 0c07188dd5..a5bf36e108 100644 --- a/src/webhooks/data/ghec/schema.json +++ b/src/webhooks/data/ghec/schema.json @@ -45223,11 +45223,6 @@ "description": "", "isRequired": true }, - { - "type": "object", - "name": "custom_properties", - "description": "

The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.

" - }, { "type": "string", "name": "default_branch", diff --git a/src/webhooks/data/ghes-3.10/schema.json b/src/webhooks/data/ghes-3.10/schema.json index 32d78fceea..698672942b 100644 --- a/src/webhooks/data/ghes-3.10/schema.json +++ b/src/webhooks/data/ghes-3.10/schema.json @@ -43616,11 +43616,6 @@ "description": "", "isRequired": true }, - { - "type": "object", - "name": "custom_properties", - "description": "

The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.

" - }, { "type": "string", "name": "default_branch", diff --git a/src/webhooks/data/ghes-3.11/schema.json b/src/webhooks/data/ghes-3.11/schema.json index d6435d7664..1171c4402f 100644 --- a/src/webhooks/data/ghes-3.11/schema.json +++ b/src/webhooks/data/ghes-3.11/schema.json @@ -43740,11 +43740,6 @@ "description": "", "isRequired": true }, - { - "type": "object", - "name": "custom_properties", - "description": "

The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.

" - }, { "type": "string", "name": "default_branch", diff --git a/src/webhooks/data/ghes-3.12/schema.json b/src/webhooks/data/ghes-3.12/schema.json index 944ecb6b07..e0aa934e33 100644 --- a/src/webhooks/data/ghes-3.12/schema.json +++ b/src/webhooks/data/ghes-3.12/schema.json @@ -44904,11 +44904,6 @@ "description": "", "isRequired": true }, - { - "type": "object", - "name": "custom_properties", - "description": "

The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.

" - }, { "type": "string", "name": "default_branch", diff --git a/src/webhooks/data/ghes-3.13/schema.json b/src/webhooks/data/ghes-3.13/schema.json index 6119a7dd3a..6454f75b60 100644 --- a/src/webhooks/data/ghes-3.13/schema.json +++ b/src/webhooks/data/ghes-3.13/schema.json @@ -44909,11 +44909,6 @@ "description": "", "isRequired": true }, - { - "type": "object", - "name": "custom_properties", - "description": "

The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.

" - }, { "type": "string", "name": "default_branch", diff --git a/src/webhooks/data/ghes-3.9/schema.json b/src/webhooks/data/ghes-3.9/schema.json index 669349bdfc..d9e6531cc2 100644 --- a/src/webhooks/data/ghes-3.9/schema.json +++ b/src/webhooks/data/ghes-3.9/schema.json @@ -40048,11 +40048,6 @@ "description": "", "isRequired": true }, - { - "type": "object", - "name": "custom_properties", - "description": "

The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.

" - }, { "type": "string", "name": "default_branch", diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 95299d1bd0..94404e4c47 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "0cc5a38280c755ac33acf9a7ea54840a421b22ea" + "sha": "1564670c7376f4e5b1bff44d284d578f2ac982b4" } \ No newline at end of file