Skip to content

Repo sync #39642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ on:

{% data reusables.actions.branch-requirement %}

> [!NOTE]
> To prevent recursive workflows, this event does not trigger workflows if the check run's check suite was created by {% data variables.product.prodname_actions %} or if the check suite's head SHA is associated with {% data variables.product.prodname_actions %}.

Runs your workflow when activity related to a check run occurs. A check run is an individual test that is part of a check suite. For information, see [AUTOTITLE](/rest/guides/using-the-rest-api-to-interact-with-checks). For information about the check run APIs, see [AUTOTITLE](/graphql/reference/objects#checkrun) in the GraphQL API documentation or [AUTOTITLE](/rest/checks/runs).

For example, you can run a workflow when a check run has been `rerequested` or `completed`.
Expand All @@ -78,7 +81,7 @@ on:
{% data reusables.actions.branch-requirement %}

> [!NOTE]
> To prevent recursive workflows, this event does not trigger workflows if the check suite was created by {% data variables.product.prodname_actions %}.
> To prevent recursive workflows, this event does not trigger workflows if the check suite was created by {% data variables.product.prodname_actions %} or if the check suite's head SHA is associated with {% data variables.product.prodname_actions %}.

Runs your workflow when check suite activity occurs. A check suite is a collection of the check runs created for a specific commit. Check suites summarize the status and conclusion of the check runs that are in the suite. For information, see [AUTOTITLE](/rest/guides/using-the-rest-api-to-interact-with-checks). For information about the check suite APIs, see [AUTOTITLE](/graphql/reference/objects#checksuite) in the GraphQL API documentation or [AUTOTITLE](/rest/checks/suites).

Expand Down
2 changes: 2 additions & 0 deletions content/billing/concepts/product-billing/git-lfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ In this example, {% data variables.product.company_short %} would bill for 1.5 G

{% data reusables.billing.default-over-quota-behavior %}

{% data reusables.billing.migrated-budgets %}

## Further reading

* [AUTOTITLE](/repositories/working-with-files/managing-large-files/about-git-large-file-storage)
Expand Down
2 changes: 2 additions & 0 deletions content/billing/concepts/product-billing/github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,5 @@ Your {% data variables.product.prodname_actions %} usage shares your account's e
## Managing your budget for {% data variables.product.prodname_actions %}

{% data reusables.billing.default-over-quota-behavior %}

{% data reusables.billing.migrated-budgets %}
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ You can view details of your usage for the current month at any time. See [AUTOT

If you are blocked from resuming a codespace and you want to continue to work on changes you have made in your codespace, you can do any of the following:

* Add a payment method and set a budget greater than $0 USD.
* Add a payment method and review your budget settings to ensure they meet your usage needs. See [AUTOTITLE](/billing/tutorials/set-up-budgets#viewing-budgets).
* Export the changes from the codespace to a branch. See [AUTOTITLE](/codespaces/troubleshooting/exporting-changes-to-a-branch).
* Wait for your monthly included usage to reset at the start of the next monthly billing cycle.

Expand Down Expand Up @@ -204,6 +204,8 @@ Use of codespaces created using prebuilds is charged at the same rate as regular

{% data reusables.billing.default-over-quota-behavior %}

{% data reusables.billing.migrated-budgets %}

{% data reusables.codespaces.exporting-changes %}

## Viewing projected usage for an organization
Expand Down
24 changes: 13 additions & 11 deletions content/billing/concepts/product-billing/github-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ For accounts that use a custom model with a third-party model provider, billing

Enterprises and organizations can opt in to paid usage to access expanded model capabilities, including increased request allowances and larger context windows. You can manage their spending by setting a budget.

By default, organizations and personal accounts that opt in to paid usage have a spending limit of $0 US dollars (USD) until the budget is increased.
Organizations and personal accounts may have default budgets to limit spending. Check the budgets for your account to ensure they are appropriate for your usage needs. See [AUTOTITLE](/billing/tutorials/set-up-budgets#viewing-budgets).

{% data reusables.billing.migrated-budgets %}

For more information, see [AUTOTITLE](/billing/managing-your-billing/using-budgets-control-spending).

Expand Down Expand Up @@ -105,24 +107,24 @@ The following table displays how the total cost is calculated for a request usin

The following steps demonstrate how the total cost is calculated:

1. **Calculate input tokens:**
Multiply the number of input tokens by the input multiplier.
1. **Calculate input tokens:**
Multiply the number of input tokens by the input multiplier.
`1,000,000 tokens × 0.25 = 250,000 input token units`

1. **Calculate billable output tokens:**
Multiply the number of output tokens by the output multiplier.
1. **Calculate billable output tokens:**
Multiply the number of output tokens by the output multiplier.
`1,000,000 tokens × 1 = 1,000,000 output token units`

1. **Add billable tokens:**
Add the billable input and output tokens.
1. **Add billable tokens:**
Add the billable input and output tokens.
`250,000 (input) + 1,000,000 (output) = 1,250,000 total token units`

1. **Charges by type:**
* **Input charge:** `250,000 × $0.00001 = $2.50`
1. **Charges by type:**
* **Input charge:** `250,000 × $0.00001 = $2.50`
* **Output charge:** `1,000,000 × $0.00001 = $10.00`

1. **Calculate the total cost:**
Multiply the total token units by the token unit price.
1. **Calculate the total cost:**
Multiply the total token units by the token unit price.
`1,250,000 × $0.00001 = $12.50 for this request`

## Opting out of paid usage
Expand Down
2 changes: 2 additions & 0 deletions content/billing/concepts/product-billing/github-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,5 @@ Your {% data variables.product.prodname_registry %} usage shares your account's
## Managing your budget for {% data variables.product.prodname_registry %}

{% data reusables.billing.default-over-quota-behavior %}

{% data reusables.billing.migrated-budgets %}
6 changes: 3 additions & 3 deletions content/billing/tutorials/set-up-budgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ Budgets and alerts allow you to track spending on metered products for your acco

If your account does not have a valid payment method on file, usage is blocked once you use up your quota.

By default, if you have a valid payment method on file, spending is limited to $0 USD until you set a budget. You can set and manage a budget to limit spending for a product or SKU.
If you have a valid payment method on file, spending may be limited by one or more budgets. Check the budgets set for your account to ensure they are appropriate for your usage needs.

<!--Billing: default budget-->
{% data reusables.billing.migrated-budgets %}

## About budgets

Expand Down Expand Up @@ -126,7 +126,7 @@ As the owner of an enterprise or organization account, or as a billing manager,

### Editing or deleting a budget

>[!IMPORTANT] Deleting a budget may remove any limits on spending, depending on your other existing budgets. For example, deleting the default $0 budget for {% data variables.product.prodname_copilot_short %} premium requests allows for unlimited usage.
>[!IMPORTANT] Deleting a budget may remove any limits on spending, depending on your other existing budgets. For example, deleting the only budget that limits {% data variables.product.prodname_copilot_short %} premium requests allows for unlimited usage.

You can edit or delete a budget at any time, but you cannot change the scope of a budget after creating it.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ topics:
- Secret Protection
- Repositories
children:
- /remediating-a-leaked-secret
- /push-protection-for-users
- /working-with-push-protection-from-the-command-line
- /working-with-push-protection-from-the-rest-api
Expand Down
Loading
Loading