Skip to content

Commit 671215b

Browse files
authored
Merge pull request #40532 from github/repo-sync
Repo sync
2 parents 5a4068a + eca0a95 commit 671215b

File tree

47 files changed

+11754
-1857
lines changed

Some content is hidden

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

47 files changed

+11754
-1857
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ See: [Configure custom instructions for GitHub Copilot](https://docs.github.com/
6666

6767
In addition to repository-wide custom instructions, specified in the `.github/copilot-instructions.md` file, Copilot Code Review now supports:
6868

69-
* Path-specific custom instructions, specified in `.github/instructions/NAME.instructions.md` files.
69+
* Path-specific custom instructions, specified in `.github/instructions/**/NAME.instructions.md` files.
7070
* Custom instructions specified in the organization settings for Copilot.
7171

7272
We have updated several articles in the GitHub documentation accordingly. We have also made changes to clarify the difference between the various types of custom instructions for Copilot Code Review, Copilot Chat, and Copilot Coding Agent.

content/copilot/how-tos/use-copilot-agents/coding-agent/extend-coding-agent-with-mcp.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,54 @@ The [Cloudflare MCP server](https://github.com/cloudflare/mcp-server-cloudflare)
222222
}
223223
```
224224

225+
### Example: Azure DevOps
226+
227+
The [Azure DevOps MCP server](https://github.com/microsoft/azure-devops-mcp) creates a seamless connection between {% data variables.product.prodname_copilot_short %} and your Azure DevOps services, including work items, pipelines or documentation.
228+
229+
To use the Azure DevOps MCP server with {% data variables.copilot.copilot_coding_agent %}, you must update the repository's copilot-setup-steps.yml file to include an Azure login workflow step.
230+
231+
1. Configure OIDC in a Microsoft Entra application, trusting {% data variables.product.github %}. See [Use the Azure Login action with OpenID Connect](https://learn.microsoft.com/en-us/azure/developer/github/connect-from-azure-openid-connect).
232+
1. Setup access to Azure DevOps organization and projects for the application identity. See [Add organization users and manage access](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/add-organization-users).
233+
1. Add a `.github/workflows/copilot-setup-steps.yml` Actions workflow file in your repository if you do not already have one.
234+
1. Add an Azure login step to the `copilot-setup-steps` workflow job.
235+
```yaml copy
236+
on:
237+
workflow_dispatch:
238+
permissions:
239+
id-token: write
240+
contents: read
241+
jobs:
242+
copilot-setup-steps:
243+
runs-on: ubuntu-latest
244+
permissions:
245+
id-token: write
246+
contents: read
247+
environment: copilot
248+
steps:
249+
- name: Azure login
250+
uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5
251+
with:
252+
client-id: {% raw %}${{ secrets.AZURE_CLIENT_ID }}{% endraw %}
253+
tenant-id: {% raw %}${{ secrets.AZURE_TENANT_ID }}{% endraw %}
254+
allow-no-subscriptions: true
255+
```
256+
This configuration ensures the `azure/login` action is executed when {% data variables.copilot.copilot_coding_agent %} runs.
257+
1. In your repository’s {% data variables.product.prodname_copilot_short %} environment, add secrets for your `AZURE_CLIENT_ID` and `AZURE_TENANT_ID`.
258+
1. Configure the Azure DevOps MCP server by adding an `ado` object to your MCP configuration with defined tools you want {% data variables.copilot.copilot_coding_agent %} to use.
259+
```json copy
260+
{
261+
"mcpServers": {
262+
"ado": {
263+
"type": "local",
264+
"command": "npx",
265+
"args": ["-y", "@azure-devops/mcp", "<your-azure-devops-organization>", "-a", "azcli"],
266+
"tools": ["wit_get_work_item", "wit_get_work_items_batch_by_ids", ...]
267+
}
268+
}
269+
}
270+
```
271+
272+
225273
## Reusing your MCP configuration from {% data variables.product.prodname_vscode %}
226274

227275
If you have already configured MCP servers in {% data variables.product.prodname_vscode_shortname %}, you can leverage a similar configuration for {% data variables.copilot.copilot_coding_agent %}.

content/migrations/using-github-enterprise-importer/migrating-between-github-products/about-migrations-between-github-products.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ Different size limits per repository apply to the compressed archive, depending
6161

6262
Limit | GHES <3.8.0 | GHES 3.8.x-3.11.x | GHES 3.12.x | GHES 3.13.0+
6363
----- | ----------- | ----------------- | ----------- | ------------
64-
Git source | 2GB | 10GB | 20GB | 40GB (public preview)
65-
Metadata | 2GB | 10GB | 20GB | 40GB (public preview)
64+
Git source | 2GiB | 10GiB | 20GiB | 40GiB (public preview)
65+
Metadata | 2GiB | 10GiB | 20GiB | 40GiB (public preview)
6666

6767
### Data that is not migrated
6868

@@ -122,7 +122,7 @@ When you migrate a repository, either directly or as part of an organization mig
122122
* Allow merge commits (commit message setting is reset to the default message)
123123
* Allow squash merging (commit message setting is reset to the default message)
124124
* Allow rebase merging
125-
* Releases (up to 10 GB per repository)
125+
* Releases (up to 10 GiB per repository)
126126
* User history for the above data
127127
* Attachments (see [AUTOTITLE](/get-started/writing-on-github/working-with-advanced-formatting/attaching-files))
128128

@@ -147,7 +147,7 @@ When you migrate a repository directly, teams and team access to repositories ar
147147
### Limitations of {% data variables.product.prodname_importer_proper_name %}
148148

149149
* {% data reusables.enterprise-migration-tool.git-repo-size-limit %}
150-
* **40 GB limit for metadata ({% data variables.release-phases.public_preview %}):** The {% data variables.product.prodname_importer_secondary_name %} cannot migrate repositories with more than 40 GB of metadata. Metadata includes issues, pull requests, releases, and attachments. In most cases, large metadata is caused by binary assets attached to releases. You can exclude releases from the migration with the `migrate-repo` command's `--skip-releases` flag, and then move your releases manually after the migration.
150+
* **40 GiB limit for metadata ({% data variables.release-phases.public_preview %}):** The {% data variables.product.prodname_importer_secondary_name %} cannot migrate repositories with more than 40 GiB of metadata. Metadata includes issues, pull requests, releases, and attachments. In most cases, large metadata is caused by binary assets attached to releases. You can exclude releases from the migration with the `migrate-repo` command's `--skip-releases` flag, and then move your releases manually after the migration.
151151
{% data reusables.enterprise-migration-tool.limitations-of-migration-tooling %}
152152

153153
## Getting started
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
**40 GB size limit for a Git repository ({% data variables.release-phases.public_preview %}):** This limit applies only to the source code. To check if the repository archive is over the limit, use the [git-sizer](https://github.com/github/git-sizer) tool and review the total blob size in the output. The git-sizer tool also helps to identify potential issues related to large files, blob size, commit size, and tree counts that could impact migrations.
1+
**40 GiB size limit for a Git repository ({% data variables.release-phases.public_preview %}):** This limit applies only to the source code. To check if the repository archive is over the limit, use the [git-sizer](https://github.com/github/git-sizer) tool and review the total blob size in the output. The git-sizer tool also helps to identify potential issues related to large files, blob size, commit size, and tree counts that could impact migrations.

data/reusables/enterprise-migration-tool/limitations-of-migration-tooling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* **400 MB file size limit:** When migrating a repository with {% data variables.product.prodname_importer_proper_name %}, no single file in your Git repository can be larger than 400 MB. Consider using {% data variables.large_files.product_name_short %} for storing large files. For more information, see [AUTOTITLE](/repositories/working-with-files/managing-large-files).
1+
* **400 MiB file size limit:** When migrating a repository with {% data variables.product.prodname_importer_proper_name %}, no single file in your Git repository can be larger than 400 MiB. Consider using {% data variables.large_files.product_name_short %} for storing large files. For more information, see [AUTOTITLE](/repositories/working-with-files/managing-large-files).
22
* **{% data variables.large_files.product_name_short %} objects not migrated:** The {% data variables.product.prodname_importer_secondary_name %} can migrate repositories that use {% data variables.large_files.product_name_short %}, but the LFS objects themselves will not be migrated. They can be pushed to your migration destination as a follow-up task after the migration is complete. For more information, see [AUTOTITLE](/repositories/creating-and-managing-repositories/duplicating-a-repository#mirroring-a-repository-that-contains-git-large-file-storage-objects).
33
* **Follow-up tasks required:** When migrating between {% data variables.product.prodname_dotcom %} products, certain settings are not migrated and must be reconfigured in the new repository. For a list of follow-up tasks you'll need to complete after each migration, see [AUTOTITLE](/migrations/using-github-enterprise-importer/migrating-between-github-products/overview-of-a-migration-between-github-products#completing-follow-up-tasks).
44
* **Delayed code search functionality:** Re-indexing the search index can take a few hours after a repository is migrated, and code searches may return unexpected results until re-indexing is complete.

src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1616,7 +1616,7 @@
16161616
},
16171617
{
16181618
"category": "teams",
1619-
"slug": "list-external-groups-in-an-organization",
1619+
"slug": "list-external-groups-available-to-an-organization",
16201620
"subcategory": "external-groups",
16211621
"verb": "get",
16221622
"requestPath": "/orgs/{org}/external-groups",

src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5191,7 +5191,7 @@
51915191
"requestPath": "/orgs/{org}/external-group/{group_id}"
51925192
},
51935193
{
5194-
"slug": "list-external-groups-in-an-organization",
5194+
"slug": "list-external-groups-available-to-an-organization",
51955195
"subcategory": "external-groups",
51965196
"verb": "get",
51975197
"requestPath": "/orgs/{org}/external-groups"

src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2124,7 +2124,7 @@
21242124
},
21252125
{
21262126
"category": "teams",
2127-
"slug": "list-external-groups-in-an-organization",
2127+
"slug": "list-external-groups-available-to-an-organization",
21282128
"subcategory": "external-groups",
21292129
"verb": "get",
21302130
"requestPath": "/orgs/{org}/external-groups",

src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5395,7 +5395,7 @@
53955395
"requestPath": "/orgs/{org}/external-group/{group_id}"
53965396
},
53975397
{
5398-
"slug": "list-external-groups-in-an-organization",
5398+
"slug": "list-external-groups-available-to-an-organization",
53995399
"subcategory": "external-groups",
54005400
"verb": "get",
54015401
"requestPath": "/orgs/{org}/external-groups"

src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5893,7 +5893,7 @@
58935893
"requestPath": "/orgs/{org}/external-group/{group_id}"
58945894
},
58955895
{
5896-
"slug": "list-external-groups-in-an-organization",
5896+
"slug": "list-external-groups-available-to-an-organization",
58975897
"subcategory": "external-groups",
58985898
"verb": "get",
58995899
"requestPath": "/orgs/{org}/external-groups"

0 commit comments

Comments
 (0)