Skip to content

Commit e571a57

Browse files
authored
Merge pull request #45500 from github/repo-sync
Repo sync
2 parents 9892636 + c9a9141 commit e571a57

26 files changed

Lines changed: 311 additions & 69 deletions

.github/workflows/auto-add-ready-for-doc-review.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ jobs:
3434
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
3535
script: |
3636
try {
37-
await github.rest.teams.getMembershipForUserInOrg({
38-
org: 'github',
39-
team_slug: 'technical-content',
37+
// Team is addressed by numeric ID (org github = 9919, team docs = 325922)
38+
// because IDs survive team renames and slugs do not.
39+
await github.request('GET /organizations/{org_id}/team/{team_id}/memberships/{username}', {
40+
org_id: 9919,
41+
team_id: 325922,
4042
username: context.payload.sender.login,
4143
});
4244
return true

.github/workflows/changelog-prompt.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ jobs:
2626
script: |
2727
try {
2828
const pr = context.payload.pull_request;
29-
await github.rest.teams.getMembershipForUserInOrg({
30-
org: 'github',
31-
team_slug: 'docs-content',
29+
// Team is addressed by numeric ID (org github = 9919, team docs-content = 2796154)
30+
// because IDs survive team renames and slugs do not.
31+
await github.request('GET /organizations/{org_id}/team/{team_id}/memberships/{username}', {
32+
org_id: 9919,
33+
team_id: 2796154,
3234
username: pr.user.login,
3335
});
3436
core.exportVariable('CONTINUE_WORKFLOW', 'true');

.github/workflows/confirm-internal-staff-work-in-docs.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ jobs:
4646
4747
// Don't perform this action with Docs team members
4848
try {
49-
await github.rest.teams.getMembershipForUserInOrg({
50-
org: 'github',
51-
team_slug: 'technical-content',
49+
// Team is addressed by numeric ID (org github = 9919, team docs = 325922)
50+
// because IDs survive team renames and slugs do not.
51+
await github.request('GET /organizations/{org_id}/team/{team_id}/memberships/{username}', {
52+
org_id: 9919,
53+
team_id: 325922,
5254
username: context.payload.sender.login,
5355
});
5456
// If the user is a Docs team member, we should stop here and not send

.github/workflows/copy-api-issue-to-internal.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ jobs:
2626
result-encoding: string
2727
script: |
2828
const triggerer_login = context.payload.sender.login
29+
// Team is addressed by numeric ID (org github = 9919, team docs = 325922)
30+
// because IDs survive team renames and slugs do not.
2931
const teamMembers = await github.request(
30-
`/orgs/github/teams/technical-content/members?per_page=100`
32+
`/organizations/9919/team/325922/members?per_page=100`
3133
)
3234
const logins = teamMembers.data.map(member => member.login)
3335
if (logins.includes(triggerer_login)) {

.github/workflows/feedback-prompt.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ jobs:
2626
script: |
2727
try {
2828
const pr = context.payload.pull_request;
29-
await github.rest.teams.getMembershipForUserInOrg({
30-
org: 'github',
31-
team_slug: 'docs-content',
29+
// Team is addressed by numeric ID (org github = 9919, team docs-content = 2796154)
30+
// because IDs survive team renames and slugs do not.
31+
await github.request('GET /organizations/{org_id}/team/{team_id}/memberships/{username}', {
32+
org_id: 9919,
33+
team_id: 2796154,
3234
username: pr.user.login,
3335
});
3436
// Author is in the team. Do nothing!

.github/workflows/hubber-contribution-help.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ jobs:
3131
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
3232
script: |
3333
try {
34-
await github.rest.teams.getMembershipForUserInOrg({
35-
org: 'github',
36-
team_slug: 'technical-content',
34+
// Team is addressed by numeric ID (org github = 9919, team docs = 325922)
35+
// because IDs survive team renames and slugs do not.
36+
await github.request('GET /organizations/{org_id}/team/{team_id}/memberships/{username}', {
37+
org_id: 9919,
38+
team_id: 325922,
3739
username: context.payload.sender.login,
3840
});
3941
return true

.github/workflows/os-ready-for-review.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ jobs:
3030
result-encoding: string
3131
script: |
3232
const triggerer_login = context.payload.sender.login
33+
// Team is addressed by numeric ID (org github = 9919, team docs = 325922)
34+
// because IDs survive team renames and slugs do not.
3335
const teamMembers = await github.request(
34-
`/orgs/github/teams/technical-content/members?per_page=100`
36+
`/organizations/9919/team/325922/members?per_page=100`
3537
)
3638
const logins = teamMembers.data.map(member => member.login)
3739
if (logins.includes(triggerer_login)) {

content/admin/data-residency/github-copilot-with-data-residency.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ The models available for {% data variables.product.prodname_copilot_short %} var
6161
* {% data variables.copilot.copilot_gpt_54_mini %}
6262
* {% data variables.copilot.copilot_gpt_54_nano %}
6363
* {% data variables.copilot.copilot_gpt_55 %}
64+
* {% data variables.copilot.copilot_gpt_56_luna %}
65+
* {% data variables.copilot.copilot_gpt_56_sol %}
66+
* {% data variables.copilot.copilot_gpt_56_terra %}
6467
* {% data variables.copilot.copilot_claude_haiku_45 %}
6568
* {% data variables.copilot.copilot_claude_opus_45 %}
6669
* {% data variables.copilot.copilot_claude_opus_46 %}

content/copilot/concepts/about-cloud-and-local-sandboxes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ Local sandboxing is powered by Microsoft eXecution Container (MXC), a cross-plat
4343

4444
Isolation technologies exist on a spectrum, from strong isolation such as full hypervisors or containers, to lighter-weight isolation such as OS-level process and filesystem containment. Local sandboxing currently sits at the lighter-weight end of this spectrum: it restricts what a process can read, write, and reach on the network, but it does not run your commands inside a separate virtual machine or container. If you want to evaluate whether this level of isolation meets your security requirements, see the [microsoft/mxc repository](https://github.com/microsoft/mxc) for implementation details.
4545

46+
For more information, see [AUTOTITLE](/copilot/concepts/agents/copilot-cli/understanding-local-sandboxing).
47+
4648
### Enabling local sandboxing
4749

4850
To enable local sandboxing inside a {% data variables.copilot.copilot_cli_short %} session, run:

content/copilot/concepts/agents/copilot-cli/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ children:
2121
- /lsp-servers
2222
- /about-cli-extensions
2323
- /tool-search
24+
- /understanding-local-sandboxing
2425
contentType: concepts
2526
docsTeamMetrics:
2627
- copilot-cli

0 commit comments

Comments
 (0)