Skip to content

Commit 2050814

Browse files
lkfortunaCopilotCopilotmchammer01
authored
Fix Actions storage billing: cache separation, pricing, and custom image entitlements (#61775)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
1 parent 0b2db29 commit 2050814

3 files changed

Lines changed: 23 additions & 12 deletions

File tree

content/billing/concepts/product-billing/github-actions.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ Each {% data variables.copilot.copilot_code-review_short %} consumes {% data var
4747
* **Continuous billing:** Storage charges accrue every hour based on your actual usage throughout the month
4848
* **Monthly total:** Your bill reflects the total storage used throughout the month, measured in GB-Hours
4949
* **Included amount:** The free storage allowance for your plan (for example, 50 GB on the Enterprise plan) is converted to an hourly rate for billing calculations
50-
* **Shared storage:** Actions artifacts, Actions caches, and {% data variables.product.prodname_registry %} storage all share the same pooled allowance. For more information, see [AUTOTITLE](/billing/concepts/product-billing/github-packages).
50+
* **Shared storage:** Actions artifacts and {% data variables.product.prodname_registry %} storage share the same pooled allowance. See [AUTOTITLE](/billing/concepts/product-billing/github-packages).
51+
* **Cache storage:** Actions cache storage is a separate allowance of 10 GB per repository. Cache storage is not shared with artifacts or {% data variables.product.prodname_registry %}.
52+
* **Custom image storage:** Storage for custom images used with {% data variables.actions.github_hosted_larger_runners %} has its own included allowance based on your plan.
5153

5254
### Understanding current vs. accrued storage
5355

@@ -112,8 +114,7 @@ For example:
112114
* If you run a workflow on a Linux runner and it takes 10 minutes to complete, you'll use 10 minutes of the repository owner's allowance. If the workflow generates a 10 MB artifact, then you'll also use 10 MB of the repository owner's artifact storage allowance.
113115
* If you run a workflow that normally takes 10 minutes and it fails after 5 minutes because a dependency isn't available, you'll use 5 minutes of the repository owner's allowance. If you fix the problem and re-run the workflow successfully, in total you'll use 15 minutes of the repository owner's allowance.
114116
* If you run a workflow that generates many log files and a long job summary, these files do not count towards the repository owner's artifact storage allowance.
115-
* Cache storage usage is measured by the peak usage for each hour. Included usage is 10 GB per repository. For a given hour, if a repository has a peak cache usage of 15 GB, then the repository owner will be charged for the 5 GB of usage above the 10 GB included for that hour. The repository owner will only be charged if the repository cache storage limit has been configured higher than the included usage.
116-
* Additional cache storage is $0.07 per GiB, per month.
117+
* Cache storage usage is measured by the peak usage for each hour. The included allowance is 10 GB per repository. For a given hour, if a repository has a peak cache usage of 15 GB, then the repository owner will be charged for the 5 GB of usage above the 10 GB included for that repository. The repository owner will only be charged if the repository cache storage limit has been configured higher than the included usage.
117118

118119
## Free use of {% data variables.product.prodname_actions %}
119120

@@ -130,7 +131,7 @@ The use of standard {% data variables.product.github %}-hosted runners is free:
130131
> [!NOTE]
131132
>
132133
> * Larger runners are always charged for, even when used by public repositories or when you have quota available from your plan.
133-
> * The storage amounts shown are **shared** with {% data variables.product.prodname_registry %}. This means your total storage across Actions artifacts, Actions caches, and Packages cannot exceed the included amount for your plan.
134+
> * The artifact storage amounts shown are **shared** with {% data variables.product.prodname_registry %}. This means your total storage across Actions artifacts and {% data variables.product.prodname_registry %} storage cannot exceed the included amount for your plan. Cache storage and custom image storage are separate allowances.
134135
> * {% data variables.copilot.copilot_code-review_short %} consumes {% data variables.product.prodname_actions %} minutes on private repositories. For public repositories, {% data variables.product.prodname_actions %} minutes remain free.
135136
136137
## Using more than your included quota
@@ -159,6 +160,16 @@ For example, jobs that run on Windows and macOS runners hosted by {% data variab
159160

160161
For full details of minute costs for different types of runners, see [AUTOTITLE](/billing/reference/actions-runner-pricing).
161162

163+
### Storage pricing
164+
165+
Usage beyond your included allowances is billed at the following rates:
166+
167+
| Storage type | Price per GB/month |
168+
| --- | --- |
169+
| Shared storage (artifacts and {% data variables.product.prodname_registry %}) | $0.25 USD |
170+
| Actions cache | $0.07 USD |
171+
| Custom image storage | $0.07 USD |
172+
162173
### Example minutes cost calculation for {% data variables.product.github %}-hosted runners
163174

164175
For example, if your organization uses {% data variables.product.prodname_team %}, using 5,000 minutes beyond the included quota on {% data variables.product.github %}-hosted runners would have a total actions minutes cost of $38 USD currently, if you used baseline Linux and Windows runners.

content/billing/concepts/product-billing/github-packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Plan | Storage | Data transfer (per month)
5858

5959
{% endrowheaders %}
6060

61-
The storage amounts shown are **shared** with {% data variables.product.prodname_actions %}. This means your total storage across Packages, Actions artifacts, and Actions caches cannot exceed the included amount for your plan.
61+
The storage amounts shown are **shared** with {% data variables.product.prodname_actions %} artifacts. This means your total storage across Packages and Actions artifacts cannot exceed the included amount for your plan.
6262

6363
> [!NOTE]
6464
> * **Billing for container image storage:** Container image storage and bandwidth for the {% data variables.product.prodname_container_registry %} is currently free. If you use {% data variables.product.prodname_container_registry %}, you'll be informed at least one month in advance of any change to this policy. For more information about the {% data variables.product.prodname_container_registry %}, see [AUTOTITLE](/packages/working-with-a-github-packages-registry/working-with-the-container-registry).
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
|Plan | Artifact storage | Minutes (per month)| Cache storage |
2-
|------- | ------- | ---------| ------- |
3-
| {% data variables.product.prodname_free_user %} | 500 MB | 2,000 | 10 GB |
4-
| {% data variables.product.prodname_pro %} | 1 GB | 3,000 | 10 GB |
5-
| {% data variables.product.prodname_free_team %} for organizations | 500 MB | 2,000 | 10 GB |
6-
| {% data variables.product.prodname_team %} | 2 GB | 3,000 | 10 GB |
7-
| {% data variables.product.prodname_ghe_cloud %} | 50 GB | 50,000 | 10 GB |
1+
| Plan | Artifact storage | Minutes (per month) | Cache storage (per repository) | Custom image storage |
2+
| ------- | ------- | --------- | ------- | ------- |
3+
| {% data variables.product.prodname_free_user %} | 500 MB | 2,000 | 10 GB | Not applicable |
4+
| {% data variables.product.prodname_pro %} | 1 GB | 3,000 | 10 GB | Not applicable |
5+
| {% data variables.product.prodname_free_team %} for organizations | 500 MB | 2,000 | 10 GB | Not applicable |
6+
| {% data variables.product.prodname_team %} | 2 GB | 3,000 | 10 GB | 75 GB |
7+
| {% data variables.product.prodname_ghe_cloud %} | 50 GB | 50,000 | 10 GB | 150 GB |

0 commit comments

Comments
 (0)