Skip to content

Commit 19bab00

Browse files
authored
Merge branch 'main' into patch-1
2 parents 06b9118 + 0959159 commit 19bab00

File tree

57 files changed

+51746
-1494
lines changed

Some content is hidden

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

57 files changed

+51746
-1494
lines changed

.github/workflows/local-dev.yml

Lines changed: 18 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: Local development
22

3-
# **What it does**: Can you start the local server like a writer would do?
4-
# **Why we have it**: Our CI is often heavily geared on testing in "production"
5-
# that historically we've been known to break local
6-
# development sometimes.
3+
# **What it does**: Basic smoke test to ensure local dev server starts and serves content
4+
# **Why we have it**: Catch catastrophic "npm start is completely broken" scenarios
75
# **Who does it impact**: Engineers, Contributors.
86

97
on:
@@ -28,76 +26,25 @@ jobs:
2826
with:
2927
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
3028

31-
# Note that we don't check out docs-early-access, Elasticsearch,
32-
# or any remote translations. Nothing fancy here!
33-
3429
- name: Disable Next.js telemetry
3530
run: npx next telemetry disable
3631

37-
- name: Install headless browser
38-
run: npx playwright install --no-shell
39-
40-
# The Playwright test, with the env vars we set here, takes care of
41-
# starting a server and shutting it down when it's done.
42-
# That's why it's important this step comes before the `npm start &`
43-
# step below.
44-
- name: Run Playwright tests
45-
env:
46-
# This is what local dev contributors are expected to do.
47-
PLAYWRIGHT_START_SERVER_COMMAND: 'npm start'
48-
# This is so that timeouts aren't retried, which can lead to
49-
# tests not exiting at the end with a non-zero. Otherwise,
50-
# by default failures are marked as "flaky" instead of "failed".
51-
PLAYWRIGHT_RETRIES: 0
52-
TEST_EARLY_ACCESS: ${{ github.repository == 'github/docs-internal' }}
53-
# workaround for https://github.com/nodejs/node/issues/59364 as of 22.18.0
54-
NODE_OPTIONS: '--no-experimental-strip-types --max-old-space-size=8192'
55-
run: npm run playwright-test -- playwright-local-dev
56-
57-
- name: Start server in the background
58-
run: npm start > /tmp/stdout.log 2> /tmp/stderr.log &
59-
60-
- name: View the home page
61-
run: |
62-
echo "Going to sleep a little to wait for the server to start"
63-
sleep 15
64-
curl --fail --retry-connrefused --retry 5 http://localhost:4000/
65-
66-
- name: Run basic tests
67-
run: npm run test-local-dev
68-
69-
- if: ${{ failure() }}
70-
name: Debug server outputs on errors
32+
- name: Start server and basic smoke test
7133
run: |
72-
echo "____STDOUT____"
73-
cat /tmp/stdout.log
74-
echo "____STDERR____"
75-
cat /tmp/stderr.log
76-
77-
- name: Pre-commit hooks should prevent bad Markdown edits
78-
run: |
79-
set -e
80-
81-
# This test assumes this one file always exists
82-
ls content/get-started/start-your-journey/hello-world.md
83-
84-
# Not sure if it matters but we're in a detached HEAD state
85-
# after the actions/checkout action.
86-
git checkout -b my-new-branch
87-
# Also, do this so you don't get errors from git about this
88-
# not being set up before your first commit attempt
89-
git config user.name github-actions
90-
git config user.email github-actions@github.com
91-
92-
# To know what will fail the markdown lint, see src/content-linter/style/github-docs.js
93-
# Add some NOT valid Markdown to it
94-
# In this case an internal link with a hardcode /en/ prefix.
95-
echo "This *is** not valid [Markdown](/en/foo)" >> content/get-started/start-your-journey/hello-world.md
96-
git commit -a -m "this should fail"
97-
exit_code=$?
98-
if [ $exit_code != 0 ]; then
99-
echo "That SHOULD have failed, but it DIDN'T"
100-
exit 1
34+
# Start server in background
35+
npm start > /tmp/stdout.log 2> /tmp/stderr.log &
36+
SERVER_PID=$!
37+
38+
# Wait for server to be ready and test homepage
39+
if curl --fail --retry-connrefused --retry 10 --retry-delay 2 http://localhost:4000/; then
40+
echo "✅ Local dev server started successfully and serves homepage"
41+
kill $SERVER_PID 2>/dev/null || true
10142
else
102-
echo "As expected, it failed :)"
43+
echo "❌ Local dev server failed to start or serve content"
44+
echo "____STDOUT____"
45+
cat /tmp/stdout.log
46+
echo "____STDERR____"
47+
cat /tmp/stderr.log
48+
kill $SERVER_PID 2>/dev/null || true
49+
exit 1
10350
fi

CHANGELOG.md

Lines changed: 46 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,58 @@
11
# Docs changelog
22

3+
**25 September 2025**
4+
5+
We've updated the documentation for the GA release of [Copilot Spaces](https://github.com/copilot/spaces). Spaces allow you to organize and centralize content and resources in order to ground Copilot Chat's responses in that context and share knowledge across teams. You can now also access Copilot Spaces in your IDE via the GitHub MCP server.
6+
7+
See the updated docs:
8+
* [About organizing and sharing context with GitHub Copilot Spaces](https://docs.github.com/copilot/concepts/context/spaces)
9+
* [Creating GitHub Copilot Spaces](https://docs.github.com/copilot/how-tos/provide-context/use-copilot-spaces/create-copilot-spaces)
10+
* [Using GitHub Copilot Spaces](https://docs.github.com/copilot/how-tos/provide-context/use-copilot-spaces/use-copilot-spaces)
11+
12+
<hr>
13+
14+
**24 September 2025**
15+
16+
Until now, assigning Copilot coding agent to an issue was limited to the same repository as the issue.
17+
18+
You can now:
19+
20+
* Assign Copilot coding agent to work in a different repository, supporting workflows where issues and code files are managed separately.
21+
* Provide additional instructions to tailor the agent's output to your requirements.
22+
* Choose the base branch for the agent to use.
23+
24+
These changes provide a more flexible, transparent, and user-friendly experience for managing automated coding tasks with Copilot coding agent.
25+
26+
See the updated docs: [Using GitHub Copilot to work on an issue](https://docs.github.com/copilot/how-tos/use-copilot-agents/coding-agent/assign-copilot-to-an-issue#assigning-an-issue-to-copilot).
27+
28+
<hr>
29+
330
**23 September 2025**
431

532
We've added new documentation for Spark that answers some common customer questions, helps customers troubleshoot known issues, and guides users on the best ways to prompt and provide context to Spark.
633

734
See:
8-
- "[About GitHub Spark](https://docs.github.com/en/copilot/concepts/spark)"
9-
- "[Troubleshooting common issues with GitHub Spark](https://docs.github.com/en/copilot/how-tos/troubleshoot-copilot/troubleshoot-spark)"
10-
- "[Write effective prompts and provide useful context for Spark](https://docs.github.com/en/copilot/tutorials/spark/prompt-tips)"
35+
- [About GitHub Spark](https://docs.github.com/copilot/concepts/spark)
36+
- [Troubleshooting common issues with GitHub Spark](https://docs.github.com/copilot/how-tos/troubleshoot-copilot/troubleshoot-spark)
37+
- [Write effective prompts and provide useful context for Spark](https://docs.github.com/copilot/tutorials/spark/prompt-tips)
38+
39+
<hr>
40+
41+
**17 September 2025**
42+
43+
We've added information about the GitHub MCP Registry, and guidance on how to use it in VS Code.
44+
45+
See [About the GitHub MCP Registry](https://docs.github.com/copilot/concepts/context/mcp#about-the-github-mcp-registry) and [Using the GitHub MCP Registry](https://docs.github.com/copilot/how-tos/provide-context/use-mcp/extend-copilot-chat-with-mcp#using-the-github-mcp-registry).
1146

1247
<hr>
1348

1449
**17 September 2025**
1550

16-
We added documentation for expanded features for reusing workflow configurations in GitHub Actions.
51+
We've added documentation for expanded features for reusing workflow configurations in GitHub Actions.
1752

18-
You can now use YAML anchors and aliases to reuse pieces of content in a workflow. See [YAML anchors and aliases](https://docs.github.com/en/actions/concepts/workflows-and-actions/reusing-workflow-configurations#yaml-anchors-and-aliases).
53+
You can now use YAML anchors and aliases to reuse pieces of content in a workflow. See [YAML anchors and aliases](https://docs.github.com/actions/concepts/workflows-and-actions/reusing-workflow-configurations#yaml-anchors-and-aliases).
1954

20-
To keep the content focused on users' job-to-be-done, we simplified the procedures for [creating workflow templates for your organization](https://docs.github.com/en/actions/how-tos/reuse-automations/create-workflow-templates). In addition, we updated reference documentation for workflow templates with details on permissions, repository visibility rules, rules for the metadata file, and examples. See [Workflow templates](https://docs.github.com/en/actions/reference/workflows-and-actions/reusing-workflow-configurations#workflow-templates).
55+
To keep the content focused on users' job-to-be-done, we simplified the procedures for [creating workflow templates for your organization](https://docs.github.com/actions/how-tos/reuse-automations/create-workflow-templates). In addition, we updated reference documentation for workflow templates with details on permissions, repository visibility rules, rules for the metadata file, and examples. See [Workflow templates](https://docs.github.com/actions/reference/workflows-and-actions/reusing-workflow-configurations#workflow-templates).
2156

2257
<hr>
2358

@@ -27,7 +62,7 @@ You can now publish your Spark app as "read-only."
2762

2863
By default, data stored in Spark is shared across all users of the app. You can choose to publish your app as "read-only" if you want to showcase your app to others, but you don't want others to be able to edit or delete any stored data.
2964

30-
We've updated the [Spark documentation](https://docs.github.com/en/copilot/tutorials/build-apps-with-spark) accordingly.
65+
We've updated the [Spark documentation](https://docs.github.com/copilot/tutorials/build-apps-with-spark) accordingly.
3166

3267
<hr>
3368

@@ -43,7 +78,7 @@ See [Responsible use of GitHub Copilot code review](https://docs.github.com/copi
4378

4479
Copilot Chat in VS Code includes a "Manage models" option which allows you to add models from a variety of LLM providers, such as Azure, Anthropic, Google, and xAI. By installing the AI Toolkit for VS Code, you can install even more models from the "Manage models" option. We've updated the documentation to include details of how to use this new feature.
4580

46-
See [Changing the AI model for GitHub Copilot Chat](https://docs.github.com/en/copilot/how-tos/use-ai-models/change-the-chat-model?tool=vscode).
81+
See [Changing the AI model for GitHub Copilot Chat](https://docs.github.com/copilot/how-tos/use-ai-models/change-the-chat-model?tool=vscode).
4782

4883
<hr>
4984

@@ -57,9 +92,9 @@ See [Configuring automatic code review by GitHub Copilot](https://docs.github.co
5792

5893
**8 September 2025**
5994

60-
We've added a tutorial on planning a project with GitHub Copilot, including creating issues and sub-issues: [Planning a project with GitHub Copilot](https://docs.github.com/en/copilot/tutorials/plan-a-project). This tutorial provides step-by-step instructions on leveraging Copilot to plan a project from scratch.
95+
We've added a tutorial on planning a project with GitHub Copilot, including creating issues and sub-issues: [Planning a project with GitHub Copilot](https://docs.github.com/copilot/tutorials/plan-a-project). This tutorial provides step-by-step instructions on leveraging Copilot to plan a project from scratch.
6196

62-
Additionally, we've updated [Using GitHub Copilot to create issues](https://docs.github.com/en/copilot/how-tos/use-copilot-for-common-tasks/use-copilot-to-create-issues) with instructions to create sub-issues and to work with existing issues.
97+
Additionally, we've updated [Using GitHub Copilot to create issues](https://docs.github.com/copilot/how-tos/use-copilot-for-common-tasks/use-copilot-to-create-issues) with instructions to create sub-issues and to work with existing issues.
6398

6499
<hr>
65100

@@ -88,7 +123,7 @@ For example, see: [Adding repository custom instructions for GitHub Copilot](htt
88123

89124
**3 September 2025**
90125

91-
We’ve updated [Choosing your enterprise’s plan for GitHub Copilot](https://docs.github.com/en/copilot/get-started/choose-enterprise-plan) to better highlight the long-term benefits of the Copilot Enterprise (CE) plan. The updated content focuses on the key advantages of CE, such as increased access to premium requests and earlier availability of new models.
126+
We’ve updated [Choosing your enterprise’s plan for GitHub Copilot](https://docs.github.com/copilot/get-started/choose-enterprise-plan) to better highlight the long-term benefits of the Copilot Enterprise (CE) plan. The updated content focuses on the key advantages of CE, such as increased access to premium requests and earlier availability of new models.
92127

93128
<hr>
94129

607 KB
Loading
31.6 KB
Loading

content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-cloud-providers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
with:
105105
debug: true
106106
script: |
107-
const token = process.env['ACTIONS_RUNTIME_TOKEN']
107+
const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN']
108108
const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL']
109109
core.setOutput('TOKEN', token.trim())
110110
core.setOutput('IDTOKENURL', runtimeUrl.trim())

content/actions/reference/workflows-and-actions/events-that-trigger-workflows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,7 @@ jobs:
12871287
fs.writeFileSync(path.join(temp, 'pr_number.zip'), Buffer.from(download.data));
12881288
12891289
- name: 'Unzip artifact'
1290-
run: unzip pr_number.zip -d "{% raw %}${{ runner.temp }}{% endraw %}/artifacts"
1290+
run: unzip "{% raw %}${{ runner.temp }}{% endraw %}/artifacts/pr_number.zip" -d "{% raw %}${{ runner.temp }}{% endraw %}/artifacts"
12911291
12921292
- name: 'Comment on PR'
12931293
uses: {% data reusables.actions.action-github-script %}

content/admin/monitoring-and-managing-your-instance/configuring-high-availability/initiating-a-failover-to-your-replica-appliance.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ The time required to failover depends on how long it takes to manually promote t
7272
{% ifversion ghes > 3.17 %}ghe-repl-decommission UUID{% else %}ghe-repl-teardown -u UUID{% endif %}
7373
```
7474
75+
> [!WARNING]
76+
> If you do not intend to re-establish replication from the new primary, you must shut down or delete any appliances that were part of the previous high availability configuration. If those appliances were unreachable during failover, they could cause unintended changes to the new primary if they become reachable later. To prevent configuration conflicts or data integrity issues, always ensure that unused appliances are properly decommissioned.
77+
7578
## Further reading
7679
7780
* [AUTOTITLE](/admin/enterprise-management/configuring-high-availability/about-high-availability-configuration#utilities-for-replication-management)

content/copilot/concepts/agents/coding-agent/about-coding-agent.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,15 @@ Having {% data variables.product.prodname_copilot_short %} as an additional codi
6464

6565
### Making {% data variables.copilot.copilot_coding_agent %} available
6666

67-
Before you can assign tasks to {% data variables.product.prodname_copilot_short %}, it must be enabled. See [AUTOTITLE](/copilot/concepts/coding-agent/about-enabling-coding-agent).
67+
Before you can assign tasks to {% data variables.copilot.copilot_coding_agent %}, it must be enabled.
68+
69+
{% data variables.copilot.copilot_coding_agent %} is available with the {% data variables.copilot.copilot_pro %}, {% data variables.copilot.copilot_pro_plus %}, {% data variables.copilot.copilot_for_business %} and {% data variables.copilot.copilot_enterprise %} plans.
70+
71+
If you are a {% data variables.copilot.copilot_for_business %} or {% data variables.copilot.copilot_enterprise %} subscriber, an administrator must enable the relevant policy before you can use the agent.
72+
73+
Repository owners can choose to opt out some or all repositories from {% data variables.copilot.copilot_coding_agent %}.
74+
75+
For more information, see [AUTOTITLE](/copilot/concepts/agents/coding-agent/managing-access).
6876

6977
## {% data variables.copilot.copilot_coding_agent %} usage costs
7078

content/copilot/concepts/agents/coding-agent/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ topics:
99
- Copilot
1010
children:
1111
- /about-coding-agent
12-
- /coding-agent-for-business-and-enterprise
12+
- /managing-access
1313
- /mcp-and-coding-agent
1414
contentType: concepts
1515
redirect_from:

content/copilot/concepts/agents/coding-agent/coding-agent-for-business-and-enterprise.md renamed to content/copilot/concepts/agents/coding-agent/managing-access.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: About GitHub Copilot coding agent for business and enterprise
3-
shortTitle: Business and enterprise
2+
title: Managing access to GitHub Copilot coding agent
3+
shortTitle: Managing access
44
allowTitleToDifferFromFilename: true
55
intro: Find out about {% data variables.copilot.copilot_coding_agent %} policies available for {% data variables.copilot.copilot_enterprise %} and {% data variables.copilot.copilot_for_business %}, and about disabling the agent for specific repositories.
66
product: '{% data reusables.gated-features.copilot-coding-agent %}<br><a href="https://github.com/features/copilot/plans?ref_cta=Copilot+plans+signup&ref_loc=enabling+copilot+coding+agent&ref_page=docs" target="_blank" class="btn btn-primary mt-3 mr-3 no-underline"><span>Sign up for {% data variables.product.prodname_copilot_short %}</span> {% octicon "link-external" height:16 %}</a>'
@@ -16,6 +16,8 @@ redirect_from:
1616
- /copilot/concepts/coding-agent/about-enabling-coding-agent
1717
- /copilot/concepts/coding-agent/enable-coding-agent
1818
- /copilot/concepts/agents/coding-agent/enable-coding-agent
19+
- /copilot/how-tos/agents/copilot-coding-agent/enabling-copilot-coding-agent
20+
- /copilot/concepts/agents/coding-agent/coding-agent-for-business-and-enterprise
1921
contentType: concepts
2022
---
2123

0 commit comments

Comments
 (0)