Skip to content

Repo sync #38836

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ redirect_from:

While working on a task, {% data variables.product.prodname_copilot_short %} has access to its own ephemeral development environment, powered by {% data variables.product.prodname_actions %}, where it can explore your code, make changes, execute automated tests and linters and more.

You can customize {% data variables.product.prodname_copilot_short %}'s environment by:
You can customize {% data variables.product.prodname_copilot_short %}'s environment to:

* [Preinstalling tools or dependencies in {% data variables.product.prodname_copilot_short %}'s environment](#preinstalling-tools-or-dependencies-in-copilots-environment).
* [Upgrading from standard {% data variables.product.prodname_dotcom %}-hosted {% data variables.product.prodname_actions %} runners to larger runners](#upgrading-to-larger-github-hosted-github-actions-runners).
* [Disabling or customizing the agent's firewall](/copilot/customizing-copilot/customizing-or-disabling-the-firewall-for-copilot-coding-agent).
* [Preinstall tools or dependencies in {% data variables.product.prodname_copilot_short %}'s environment](#preinstalling-tools-or-dependencies-in-copilots-environment).
* [Upgrade from standard {% data variables.product.github %}-hosted {% data variables.product.prodname_actions %} runners to larger runners](#upgrading-to-larger-github-hosted-github-actions-runners).
* [Enable Git Large File Storage (LFS)](#enabling-git-large-file-storage-lfs)
* [Disable or customize the agent's firewall](/copilot/customizing-copilot/customizing-or-disabling-the-firewall-for-copilot-coding-agent).

## Preinstalling tools or dependencies in {% data variables.product.prodname_copilot_short %}'s environment

Expand All @@ -41,8 +42,16 @@ Here is a simple example of a `copilot-setup-steps.yml` file for a TypeScript pr
```yaml copy
name: "Copilot Setup Steps"

# Allow testing of the setup steps from your repository's "Actions" tab.
on: workflow_dispatch
# Automatically run the setup steps when they are changed to allow for easy validation, and
# allow manual testing through the repository's "Actions" tab
on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml

jobs:
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
Expand Down Expand Up @@ -83,7 +92,9 @@ In your `copilot-setup-steps.yml` file, you can only customize the following set

For more information on these options, see [AUTOTITLE](/actions/writing-workflows/workflow-syntax-for-github-actions#jobs).

Once you have created a `copilot-setup-steps.yml` file and merged it into your default branch, you can manually run the workflow from the repository's **Actions** tab to check that it works. For more information, see [AUTOTITLE](/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow).
Your `copilot-setup-steps.yml` file will automatically be run as a normal {% data variables.product.prodname_actions %} workflow when changes are made, so you can see if it runs successfully. This will show alongside other checks in a pull request where you create or modify the file.

Once you have merged the yml file into your default branch, you can manually run the workflow from the repository's **Actions** tab at any time to check that everything works as expected. For more information, see [AUTOTITLE](/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow).

## Upgrading to larger {% data variables.product.prodname_dotcom %}-hosted {% data variables.product.prodname_actions %} runners

Expand All @@ -105,9 +116,29 @@ jobs:
```

> [!NOTE]
> * {% data variables.copilot.copilot_coding_agent %} is only compatible with Ubuntu x86 Linux runners. Runners with Windows, macOS or other operating systems are not supported.
> * {% data variables.copilot.copilot_coding_agent %} is only compatible with Ubuntu x64 Linux runners. Runners with Windows, macOS or other operating systems are not supported.
> * Self-hosted {% data variables.product.prodname_actions %} runners are not supported.

## Enabling Git Large File Storage (LFS)

If you use Git Large File Storage (LFS) to store large files in your repository, you will need to customize {% data variables.product.prodname_copilot_short %}'s environment to install Git LFS and fetch LFS objects.

To enable Git LFS, add a `actions/checkout` step to your `copilot-setup-steps` job with the `lfs` option set to `true`.

```yaml copy
# ...

jobs:
copilot-setup-steps:
runs-on: ubuntu-latest
permissions:
contents: read # for actions/checkout
steps:
- uses: {% data reusables.actions.action-checkout %}
with:
lfs: true
```

## Further reading

* [AUTOTITLE](/copilot/customizing-copilot/customizing-or-disabling-the-firewall-for-copilot-coding-agent)
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ You can click a model name in the list below to jump to a detailed overview of i
* [{% data variables.copilot.copilot_o3 %}](#o3)
* [{% data variables.copilot.copilot_o3_mini %}](#o3-mini)
* [{% data variables.copilot.copilot_o4_mini %}](#o4-mini)
* [{% data variables.copilot.copilot_claude_sonnet_35 %}](#claude-35-sonnet)
* [{% data variables.copilot.copilot_claude_sonnet_37 %}](#claude-37-sonnet)
* [{% data variables.copilot.copilot_claude_sonnet_35 %}](#claude-sonnet-35)
* [{% data variables.copilot.copilot_claude_sonnet_37 %}](#claude-sonnet-37)
* [{% data variables.copilot.copilot_claude_sonnet_40 %}](#claude-sonnet-4)
* [{% data variables.copilot.copilot_claude_opus %}](#claude-opus-4)
* [{% data variables.copilot.copilot_gemini_flash %}](#gemini-20-flash)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,16 +159,10 @@ To transfer a discussion, you must have permissions to create discussions in the
1. At the bottom of the discussion, below the comment box, click **Close discussion**.
1. Optionally, to change the reason for closing the discussion, select the {% octicon "triangle-down" aria-label="The down triangle octicon" %} dropdown next to "Close discussion" and click a reason.

<!-- expires 2025-06-06 -->

<!-- When this expires, remove the Converting issues based on labels section for FPT/GHEC but keep it for GHES <=3.17 -->

{% ifversion fpt or ghec %}
{% ifversion ghes < 3.18 %}

## Converting issues based on labels

>[!WARNING] Starting June 6, 2025, {% data variables.product.company_short %} will deprecate bulk converting of issues based on labels.

You can convert all issues with the same label to discussions in bulk. Future issues with this label will also automatically convert to the discussion and category you configure.

1. Navigate to the main page of the repository or, for organization discussions, the source repository.
Expand All @@ -179,4 +173,3 @@ You can convert all issues with the same label to discussions in bulk. Future is
1. Click **I understand, convert this issue to a discussion**.

{% endif %}
<!-- end expires 2025-06-06 -->
4 changes: 2 additions & 2 deletions data/variables/copilot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ max-chat-indexed-repos: '50'
# Claude:
copilot_claude: 'Claude'
copilot_claude_sonnet: 'Claude Sonnet'
copilot_claude_sonnet_35: 'Claude 3.5 Sonnet'
copilot_claude_sonnet_37: 'Claude 3.7 Sonnet'
copilot_claude_sonnet_35: 'Claude Sonnet 3.5'
copilot_claude_sonnet_37: 'Claude Sonnet 3.7'
copilot_claude_sonnet_40: 'Claude Sonnet 4'
copilot_claude_opus: 'Claude Opus 4'
# Gemini:
Expand Down
Loading
Loading