Skip to content

Commit b564a05

Browse files
author
zosibanda113-ops
authored
Merge branch 'main' into main
2 parents 6906c93 + 282d8d7 commit b564a05

644 files changed

Lines changed: 12528 additions & 3337 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
// Lifecycle commands
6565
// Start a web server and keep it running
66-
"postStartCommand": "nohup bash -c 'npm start &'",
66+
"postStartCommand": "nohup bash -c 'npm ci && npm start &'",
6767
// Set port 4000 to be public
6868
"postAttachCommand": "gh cs ports visibility 4000:public -c \"$CODESPACE_NAME\"",
6969

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Docs changelog
22

3+
**16 January 2026**
4+
5+
The following new articles support the public preview release of Copilot Memory:
6+
7+
* [About agentic memory for GitHub Copilot](https://docs.github.com/copilot/concepts/agents/copilot-memory)
8+
* [Enabling and curating Copilot Memory](https://docs.github.com/copilot/how-tos/use-copilot-agents/copilot-memory)
9+
10+
<hr>
11+
12+
**16 January 2026**
13+
14+
We published [About user offboarding on GitHub Enterprise Cloud](https://docs.github.com/en/enterprise-cloud@latest/admin/concepts/identity-and-access-management/user-offboarding) to give enterprise customers clear guidance about offboarding processes. The article covers recommended offboarding methods, the effects of offboarding, and what happens when a user is removed from all organizations in an enterprise.
15+
16+
We also updated [Removing a member from your enterprise](https://docs.github.com/en/enterprise-cloud@latest/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/removing-a-member-from-your-enterprise) and [Removing a member from your organization](https://docs.github.com/en/enterprise-cloud@latest/organizations/managing-membership-in-your-organization/removing-a-member-from-your-organization) to include instructions for enterprises that use Enterprise Managed Users or SCIM for organizations.
17+
18+
<hr>
19+
20+
**13 January 2026**
21+
22+
We've added a new reference article to clarify which of the various types of custom instructions for Copilot are supported by Copilot Chat, Copilot coding agent, and Copilot code review in GitHub.com, Visual Studio Code, Visual Studio, JetBrains IDEs, Eclipse, Xcode, and Copilot CLI.
23+
24+
[Support for different types of custom instructions](https://docs.github.com/copilot/reference/custom-instructions-support)
25+
26+
<hr>
27+
328
**8 January 2026**
429

530
We've added information about permissions to the article [Using GitHub Copilot CLI](https://docs.github.com/copilot/how-tos/use-copilot-agents/use-copilot-cli#permissions).

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# ---------------------------------------------------------------
99
# To update the sha:
1010
# https://github.com/github/gh-base-image/pkgs/container/gh-base-image%2Fgh-base-noble
11-
FROM ghcr.io/github/gh-base-image/gh-base-noble:20260109-173439-g06c82aab1 AS base
11+
FROM ghcr.io/github/gh-base-image/gh-base-noble:20260113-125234-g605df3bee AS base
1212

1313
# Install curl for Node install and determining the early access branch
1414
# Install git for cloning docs-early-access & translations repos
325 KB
Loading

content/actions/how-tos/monitor-workflows/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ children:
1111
- /view-job-execution-time
1212
- /add-a-status-badge
1313
- /use-workflow-run-logs
14+
- /view-job-condition-logs
1415
- /enable-debug-logging
1516
redirect_from:
1617
- /actions/monitoring-and-troubleshooting-workflows/monitoring-workflows
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: Viewing job condition expression logs
3+
shortTitle: View job condition logs
4+
intro: 'Learn how to access and interpret expression evaluation logs for job-level `if` conditions in {% data variables.product.prodname_actions %}.'
5+
versions:
6+
fpt: '*'
7+
ghec: '*'
8+
contentType: how-tos
9+
---
10+
11+
When a job's `if` condition is evaluated, {% data variables.product.prodname_actions %} logs the expression evaluation to help you understand the result. This is useful for debugging both why a job was skipped and why a job ran when you expected it to be skipped.
12+
13+
## Accessing expression logs
14+
15+
1. Navigate to the workflow run summary.
16+
1. Click on the job.
17+
1. Click **{% octicon "gear" aria-label="The Gear icon" %}**.
18+
1. Select **Download log archive**.
19+
1. Extract the ZIP file and open the `JOB-NAME/system.txt` file.
20+
21+
## Understanding the log output
22+
23+
The system log shows the expression evaluation:
24+
25+
```text
26+
Evaluating: (success() && ((github.repository == 'octo-org/octo-repo-prod')))
27+
Expanded: (true && (('my-username/octo-repo-prod' == 'octo-org/octo-repo-prod')))
28+
Result: false
29+
```
30+
31+
| Line | Description |
32+
|------|-------------|
33+
| **Evaluating** | The original `if` expression from your workflow file. |
34+
| **Expanded** | The expression with context values substituted. This shows you exactly what values were used at runtime. |
35+
| **Result** | The final evaluation result (`true` or `false`). |
36+
37+
In this example, the expanded line reveals that `github.repository` was `'my-username/octo-repo-prod'` (not `'octo-org/octo-repo-prod'`), which caused the condition to evaluate to `false`.
38+
39+
> [!NOTE]
40+
> Expression logs are only available for job-level `if` conditions. For step-level conditions, you can enable debug logging to see expression evaluation in the job logs. For more information, see [AUTOTITLE](/actions/how-tos/monitor-workflows/enable-debug-logging).

content/actions/how-tos/troubleshoot-workflows.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,23 @@ For path filtering, evaluating diffs is limited to the first 300 files. If there
9898

9999
Workflow execution involves any issues seen after the workflow was triggered and a workflow run has been created.
100100

101+
{% ifversion fpt or ghec %}
102+
103+
### Debugging job conditions
104+
105+
If a job was skipped unexpectedly, or ran when you expected it to be skipped, you can view the expression evaluation to understand why:
106+
107+
1. Click on the job in the workflow run.
108+
1. Download the log archive from the job's menu.
109+
1. Open the `JOB-NAME/system.txt` file.
110+
1. Look for the `Evaluating`, `Expanded`, and `Result` lines.
111+
112+
The `Expanded` line shows the actual runtime values that were substituted into your `if` condition, making it clear why the expression evaluated to `true` or `false`.
113+
114+
For more information, see [AUTOTITLE](/actions/how-tos/monitor-workflows/view-job-condition-logs).
115+
116+
{% endif %}
117+
101118
### Canceling Workflows
102119

103120
If standard cancellation through the [UI](/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/canceling-a-workflow) or [API](/rest/actions/workflow-runs?apiVersion=2022-11-28#cancel-a-workflow-run) does not process as expected, there may be a conditional statement configured for your running workflow job(s) that causes it to not cancel.

content/actions/how-tos/write-workflows/choose-when-workflows-run/control-jobs-with-conditions.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,9 @@ Skipped jobs display the message "This check was skipped."
3737
3838
> [!NOTE]
3939
> A job that is skipped will report its status as "Success". It will not prevent a pull request from merging, even if it is a required check.
40+
41+
{% ifversion fpt or ghec %}
42+
43+
To debug why a job was skipped or ran unexpectedly, you can view job condition expression logs. For more information, see [AUTOTITLE](/actions/how-tos/monitor-workflows/view-job-condition-logs).
44+
45+
{% endif %}

content/actions/reference/limits.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ These limits are subject to change.
4040
| 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 |
4141
| Larger runners | Static IP limits | 10 IPs | 10 IPs per enterprise and organization. | {% octicon "check" aria-label="Yes" %} Support ticket |
4242
| 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 |
43+
| 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" %} |
4344

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

content/actions/reference/workflows-and-actions/dependency-caching.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -229,14 +229,14 @@ For example, if a pull request contains a `feature` branch and targets the defau
229229

230230
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.
231231

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

241241
## Restrictions for accessing a cache
242242

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

278+
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.
279+
278280
### Increasing cache size
279281

280282
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.

0 commit comments

Comments
 (0)