Skip to content

Commit fe0eebd

Browse files
Merge branch 'main' into patch-1
2 parents e130ec2 + e600ed8 commit fe0eebd

File tree

38 files changed

+51609
-1455
lines changed

38 files changed

+51609
-1455
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: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
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+
314
**24 September 2025**
415

516
Until now, assigning Copilot coding agent to an issue was limited to the same repository as the issue.

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/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: 3 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>'
@@ -17,6 +17,7 @@ redirect_from:
1717
- /copilot/concepts/coding-agent/enable-coding-agent
1818
- /copilot/concepts/agents/coding-agent/enable-coding-agent
1919
- /copilot/how-tos/agents/copilot-coding-agent/enabling-copilot-coding-agent
20+
- /copilot/concepts/agents/coding-agent/coding-agent-for-business-and-enterprise
2021
contentType: concepts
2122
---
2223

content/copilot/concepts/context/spaces.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: About organizing and sharing context with GitHub Copilot Spaces
2+
title: About GitHub Copilot Spaces
33
shortTitle: Spaces
4-
intro: Understand how gathering context with {% data variables.copilot.copilot_spaces %} can improve your results and help your teammates.
4+
intro: Understand how organizing and sharing context with {% data variables.copilot.copilot_spaces %} can improve your {% data variables.copilot.copilot_chat_dotcom_short %} results and help your teammates.
55
permissions: Anyone with a {% data variables.product.prodname_copilot_short %} license can use {% data variables.copilot.copilot_spaces_short %}.
66
versions:
77
feature: copilot

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@
9191
"sync-secret-scanning": "tsx src/secret-scanning/scripts/sync.ts",
9292
"sync-webhooks": "npx tsx src/rest/scripts/update-files.ts -o webhooks",
9393
"test": "vitest",
94-
"test-local-dev": "tsx src/workflows/test-local-dev.ts",
9594
"test-moved-content": "tsx src/content-render/scripts/test-moved-content.ts",
9695
"tsc": "tsc --noEmit",
9796
"unallowed-contributions": "tsx src/workflows/unallowed-contributions.ts",

0 commit comments

Comments
 (0)