Skip to content
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
1 change: 1 addition & 0 deletions content/actions/reference/limits.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ These limits are subject to change.
| Larger runners | Per runner concurrency limit | Varies by runner type | Established when setting up a runner. Normally 1,000 max for Linux CPU runners, but varies by type. See [Job concurrency limits for {% data variables.product.github %}-hosted runners](#job-concurrency-limits-for-github-hosted-runners). | {% octicon "check" aria-label="Yes" %} Support ticket |
| Larger runners | Static IP limits | 10 IPs | 10 IPs per enterprise and organization. | {% octicon "check" aria-label="Yes" %} Support ticket |
| Larger runners | Private IP scaling for vnet injection | 30% buffer | You need a buffer to accommodate the maximum job concurrency you anticipate. See [Private IP scaling for vnet injection on larger runners](#private-ip-scaling-for-vnet-injection-on-larger-runners). | {% octicon "check" aria-label="Yes" %} Configurable Azure virtual network |
| Dependency caching | Uploads per minute | 200 per minute | Each repository is limited to 200 cache entry uploads per minute. If this limit is exceeded, subsequent cache upload attempts will fail until the rate limit resets. | {% octicon "x" aria-label="No" %} |

### Job concurrency limits for {% data variables.product.github %}-hosted runners

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,14 @@ For example, if a pull request contains a `feature` branch and targets the defau

If you are caching the package managers listed below, using their respective setup-* actions requires minimal configuration and will create and restore dependency caches for you.

| Package managers | setup-* action for caching |
|---|---|
| npm, Yarn, pnpm | [setup-node](https://github.com/actions/setup-node#caching-global-packages-data) |
| pip, pipenv, Poetry | [setup-python](https://github.com/actions/setup-python#caching-packages-dependencies) |
| Gradle, Maven | [setup-java](https://github.com/actions/setup-java#caching-packages-dependencies) |
| RubyGems | [setup-ruby](https://github.com/ruby/setup-ruby#caching-bundle-install-automatically) |
| Go `go.sum` | [setup-go](https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs) |
| .NET NuGet | [setup-dotnet](https://github.com/actions/setup-dotnet?tab=readme-ov-file#caching-nuget-packages) |
| Package managers | setup-* action for caching |
| ------------------- | ------------------------------------------------------------------------------------------------- |
| npm, Yarn, pnpm | [setup-node](https://github.com/actions/setup-node#caching-global-packages-data) |
| pip, pipenv, Poetry | [setup-python](https://github.com/actions/setup-python#caching-packages-dependencies) |
| Gradle, Maven | [setup-java](https://github.com/actions/setup-java#caching-packages-dependencies) |
| RubyGems | [setup-ruby](https://github.com/ruby/setup-ruby#caching-bundle-install-automatically) |
| Go `go.sum` | [setup-go](https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs) |
| .NET NuGet | [setup-dotnet](https://github.com/actions/setup-dotnet?tab=readme-ov-file#caching-nuget-packages) |

## Restrictions for accessing a cache

Expand Down Expand Up @@ -275,6 +275,8 @@ Multiple workflow runs in a repository can share caches. A cache created for a b
{% endif %}
{% ifversion fpt or ghec %}

You can create cache entries at a rate of up to 200 uploads per minute per repository. If you exceed this rate, subsequent cache upload attempts will fail until the rate limit resets. The time until the rate limit resets is returned in the `Retry-After` header of the response.

### Increasing cache size

If you want to reduce the rate at which cache entries are evicted, you can increase the storage limits for your cache in the Actions Settings. Repositories owned by users can configure up to 10 TB per repository. For repositories owned by organizations, the maximum configurable limit is determined by the organization's settings. For organizations owned by an enterprise, the maximum configurable limit is determined by the enterprise's settings. Increasing the limit beyond the default 10 GB will incur additional costs, if that storage is used.
Expand Down
4 changes: 2 additions & 2 deletions src/workflows/fr-add-docs-reviewers-requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ async function run() {

// Get the ID of the fields that we want to populate
const datePostedID = findFieldID('Date posted', projectData)
const targetDateID = findFieldID('Target Date', projectData)
const reviewDueDateID = findFieldID('Review due date', projectData)
const statusID = findFieldID('Status', projectData)
const featureID = findFieldID('Feature', projectData)
const contributorTypeID = findFieldID('Contributor type', projectData)
Expand Down Expand Up @@ -208,7 +208,7 @@ async function run() {
statusID,
statusValueID: readyForReviewID,
datePostedID,
targetDateID,
reviewDueDateID,
contributorTypeID,
contributorType,
sizeTypeID,
Expand Down
6 changes: 3 additions & 3 deletions src/workflows/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export function calculateDueDate(datePosted: Date, turnaround = 2) {
// generates a GraphQL mutation to populate:
// - "Status" (as variable passed with the request)
// - "Date posted" (as today)
// - "Target Date" (as today + {turnaround} weekdays)
// - "Review due date" (as today + {turnaround} weekdays)
// - "Contributor type" (as variable passed with the request)
// - "Feature" (as {feature})
// - "Author" (as {author})"
Expand Down Expand Up @@ -241,7 +241,7 @@ export function generateUpdateProjectV2ItemFieldMutation({
$statusID: ID!
$statusValueID: String!
$datePostedID: ID!
$targetDateID: ID!
$reviewDueDateID: ID!
$contributorTypeID: ID!
$contributorType: String!
$sizeTypeID: ID!
Expand All @@ -264,7 +264,7 @@ export function generateUpdateProjectV2ItemFieldMutation({
})}
${generateMutationToUpdateField({
item,
fieldID: '$targetDateID',
fieldID: '$reviewDueDateID',
value: formatDateForProject(dueDate),
fieldType: 'date',
literal: true,
Expand Down
4 changes: 2 additions & 2 deletions src/workflows/ready-for-docs-review.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ async function run() {

// Get the ID of the fields that we want to populate
const datePostedID = findFieldID('Date posted', data)
const targetDateID = findFieldID('Target Date', data)
const reviewDueDateID = findFieldID('Review due date', data)
const statusID = findFieldID('Status', data)
const featureID = findFieldID('Feature', data)
const contributorTypeID = findFieldID('Contributor type', data)
Expand Down Expand Up @@ -263,7 +263,7 @@ async function run() {
statusID,
statusValueID: readyForReviewID,
datePostedID,
targetDateID,
reviewDueDateID,
contributorTypeID,
contributorType,
sizeTypeID,
Expand Down