Skip to content
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
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

// Lifecycle commands
// Start a web server and keep it running
"postStartCommand": "nohup bash -c 'npm start &'",
"postStartCommand": "nohup bash -c 'npm ci && npm start &'",
// Set port 4000 to be public
"postAttachCommand": "gh cs ports visibility 4000:public -c \"$CODESPACE_NAME\"",

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ Below are some example URLs that generate the tokens we see most often:
* [GitHub Models access](https://github.com/settings/personal-access-tokens/new?name=GitHub+Models+token&description=Used%20to%20call%20GitHub%20Models%20APIs%20to%20easily%20run%20LLMs%3A%20https%3A%2F%2Fdocs.github.com%2Fgithub-models%2Fquickstart%23step-2-make-an-api-call&user_models=read)<!-- markdownlint-disable-line search-replace Custom rule -->
* [Update code and open a PR](https://github.com/settings/personal-access-tokens/new?name=Core-loop+token&description=Write%20code%20and%20push%20it%20to%20main%21%20Includes%20permission%20to%20edit%20workflow%20files%20for%20Actions%20-%20remove%20%60workflows%3Awrite%60%20if%20you%20don%27t%20need%20to%20do%20that&contents=write&pull_requests=write&workflows=write)
* [Manage Copilot licenses in an organization](https://github.com/settings/personal-access-tokens/new?name=Core-loop+token&description=Enable%20or%20disable%20copilot%20access%20for%20users%20with%20the%20Seat%20Management%20APIs%3A%20https%3A%2F%2Fdocs.github.com%2Frest%2Fcopilot%2Fcopilot-user-management%0ABe%20sure%20to%20select%20an%20organization%20for%20your%20resource%20owner%20below%21&organization_copilot_seat_management=write)<!-- markdownlint-disable-line search-replace Custom rule -->
* [Make Copilot requests](https://github.com/settings/personal-access-tokens/new?name=Copilot+requests+token&description=Make%20Copilot%20API%20requests%20on%20behalf%20of%20the%20user%2C%20consuming%20premium%20requests%3A%20https%3A%2F%2Fdocs.github.com%2Fcopilot%2Fconcepts%2Fbilling%2Fcopilot-requests&copilot_requests=write)<!-- markdownlint-disable-line search-replace Custom rule -->

#### Supported Query Parameters

Expand Down Expand Up @@ -173,6 +174,7 @@ Account permissions are only used when the current user is set as the resource o
| `codespaces_user_secrets` | Codespaces user secrets | `read`, `write` |
| `copilot_messages` | Copilot Chat | `read` |
| `copilot_editor_context` | Copilot Editor Context | `read` |
| `copilot_requests` | Copilot requests | `write` |
| `emails` | Email addresses | `read`, `write` |
| `user_events` | Events | `read` |
| `followers` | Followers | `read`, `write` |
Expand All @@ -189,6 +191,12 @@ Account permissions are only used when the current user is set as the resource o
| `starring` | Starring | `read`, `write` |
| `watching` | Watching | `read`, `write` |

{% ifversion copilot %}

> [!NOTE]
> The `copilot_requests` permission enables making {% data variables.product.prodname_copilot_short %} requests for the given user, which count towards the user's premium request allowance or are charged to overage billing if the allowance is exceeded. For more information about {% data variables.product.prodname_copilot_short %} requests and billing, see [AUTOTITLE](/copilot/concepts/billing/copilot-requests).

{% endif %}
##### Repository Permissions

Repository permissions work for both user and organization resource owners.
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion content/code-security/codeql-for-vs-code/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ topics:
- Code scanning
- CodeQL
children:
- /getting-started-with-codeql-for-vs-code
- /using-the-advanced-functionality-of-the-codeql-for-vs-code-extension
- /troubleshooting-codeql-for-vs-code
---
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ redirect_from:
- /code-security/dependabot/dependabot-alerts/browsing-security-advisories-in-the-github-advisory-database
- /code-security/security-advisories/global-security-advisories/browsing-security-advisories-in-the-github-advisory-database
- /code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/browsing-security-advisories-in-the-github-advisory-database
- /code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database
- /code-security/security-advisories/global-security-advisories
versions:
fpt: '*'
ghec: '*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ intro: To get started with {% data variables.product.prodname_codeql %} for {% d
allowTitleToDifferFromFilename: true
redirect_from:
- /code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code
- /code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code
- /code-security/codeql-for-vs-code/setting-up-codeql-in-visual-studio-code
contentType: how-tos
---

Expand Down
1 change: 0 additions & 1 deletion content/code-security/secret-scanning/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ children:
- /managing-alerts-from-secret-scanning
- /using-advanced-secret-scanning-and-push-protection-features
- /troubleshooting-secret-scanning-and-push-protection
- /secret-scanning-partnership-program
---

This file was deleted.

4 changes: 1 addition & 3 deletions content/code-security/security-advisories/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
title: Working with security advisories
shortTitle: Security advisories
allowTitleToDifferFromFilename: true
intro: 'Learn how to work with security advisories on {% data variables.product.prodname_dotcom %},{% ifversion fpt or ghec %} whether you want to contribute to an existing global advisory, or create a security advisory for a repository,{% endif %} improving collaboration between repository maintainers and security researchers.'
intro: 'Learn how to work with security advisories on {% data variables.product.prodname_dotcom %}, whether you want to contribute to an existing global advisory, or create a security advisory for a repository, improving collaboration between repository maintainers and security researchers.'
versions:
fpt: '*'
ghec: '*'
ghes: '*'
topics:
- Security advisories
- Vulnerabilities
- Repositories
- CVEs
children:
- /working-with-global-security-advisories-from-the-github-advisory-database
- /working-with-repository-security-advisories
---

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ redirect_from:
- /developers/overview/secret-scanning-partner-program
- /code-security/secret-scanning/secret-scanning-partner-program
- /code-security/secret-scanning/secret-scanning-partnership-program/secret-scanning-partner-program
- /code-security/secret-scanning/secret-scanning-partnership-program
versions:
fpt: '*'
ghec: '*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ If a new top-level doc set is created, it is added to the homepage.

If a category serves as the starting point for using a {% data variables.product.prodname_dotcom %} product or feature, it can be added to the homepage.

For example, under the "Security" grouping on the homepage, in addition to the [Code security](/code-security) top-level doc set, the [Supply chain security](/code-security/supply-chain-security), [Security advisories](/code-security/security-advisories), [{% data variables.product.prodname_dependabot %}](/code-security/dependabot), [{% data variables.product.prodname_code_scanning_caps %}](/code-security/code-scanning), and [{% data variables.product.prodname_secret_scanning_caps %}](/code-security/secret-scanning) categories are included because each of those categories are the entry point to {% data variables.product.prodname_dotcom %} products and features. [Security overview](/code-security/security-overview) is not included on the homepage because it provides additional information for using secure coding features and is not an introduction to a product or feature.
For example, under the "Security" grouping on the homepage, in addition to the [Code security](/code-security) top-level doc set, the [Supply chain security](/code-security/supply-chain-security),{% ifversion fpt or ghec %} [Security advisories](/code-security/security-advisories),{% endif %} [{% data variables.product.prodname_dependabot %}](/code-security/dependabot), [{% data variables.product.prodname_code_scanning_caps %}](/code-security/code-scanning), and [{% data variables.product.prodname_secret_scanning_caps %}](/code-security/secret-scanning) categories are included because each of those categories are the entry point to {% data variables.product.prodname_dotcom %} products and features. [Security overview](/code-security/security-overview) is not included on the homepage because it provides additional information for using secure coding features and is not an introduction to a product or feature.

## Top-level doc set

Expand Down
2 changes: 1 addition & 1 deletion content/copilot/concepts/billing/copilot-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ If you use **{% data variables.copilot.copilot_free_short %}**, you have access

Premium request usage is based on the model’s multiplier and the feature you’re using. For example:

* **Using {% data variables.copilot.copilot_claude_opus_41 %} in {% data variables.copilot.copilot_chat_short %}**: With a 10× multiplier, one interaction counts as 10 premium requests.
* **Using {% data variables.copilot.copilot_claude_opus_45 %} in {% data variables.copilot.copilot_chat_short %}**: With a 3× multiplier, one interaction counts as 3 premium requests.
* **Using {% data variables.copilot.copilot_gpt_5_mini %} on {% data variables.copilot.copilot_free_short %}**: Each interaction counts as 1 premium request.
* **Using {% data variables.copilot.copilot_gpt_5_mini %} on a paid plan**: No premium requests are consumed.
28 changes: 14 additions & 14 deletions content/copilot/reference/ai-models/model-comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ Use this table to find a suitable model quickly, see more detail in the sections

Use these models for common development tasks that require a balance of quality, speed, and cost efficiency. These models are a good default when you don't have specific requirements.

| Model | Why it's a good fit |
|--------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
| {% data variables.copilot.copilot_gpt_5_codex %} | Delivers higher-quality code on complex engineering tasks like features, tests, debugging, refactors, and reviews without lengthy instructions. |
| {% data variables.copilot.copilot_gpt_5_mini %} | Reliable default for most coding and writing tasks. Fast, accurate, and works well across languages and frameworks. |
| {% data variables.copilot.copilot_grok_code %} | Specialized for coding tasks. Performs well on code generation, and debugging across multiple languages. |
| {% data variables.copilot.copilot_raptor_mini %} | Specialized for fast, accurate inline suggestions and explanations. |
| Model | Why it's a good fit |
|---------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
| {% data variables.copilot.copilot_gpt_51_codex %} | Delivers higher-quality code on complex engineering tasks like features, tests, debugging, refactors, and reviews without lengthy instructions. |
| {% data variables.copilot.copilot_gpt_5_mini %} | Reliable default for most coding and writing tasks. Fast, accurate, and works well across languages and frameworks. |
| {% data variables.copilot.copilot_grok_code %} | Specialized for coding tasks. Performs well on code generation, and debugging across multiple languages. |
| {% data variables.copilot.copilot_raptor_mini %} | Specialized for fast, accurate inline suggestions and explanations. |

### When to use these models

Expand Down Expand Up @@ -92,11 +92,11 @@ These models are designed for tasks that require step-by-step reasoning, complex

| Model | Why it's a good fit |
|-------------------------------------------------------|---------------------------------------------------------------------------------------------------------------|
| {% data variables.copilot.copilot_gpt_5_mini %} | Delivers deep reasoning and debugging with faster responses and lower resource usage than GPT-5. Ideal for interactive sessions and step-by-step code analysis. |
| {% data variables.copilot.copilot_gpt_5 %} | Great at complex reasoning, code analysis, and technical decision-making. |
| {% data variables.copilot.copilot_gpt_5_mini %} | Delivers deep reasoning and debugging with faster responses and lower resource usage than GPT-5. Ideal for interactive sessions and step-by-step code analysis. |
| {% data variables.copilot.copilot_gpt_52 %} | Great at complex reasoning, code analysis, and technical decision-making. |
| {% data variables.copilot.copilot_claude_sonnet_40 %} | Improves on 3.7 with more reliable completions and smarter reasoning under pressure. |
| {% data variables.copilot.copilot_claude_opus_41 %} | Anthropic’s most powerful model. Improves on {% data variables.copilot.copilot_claude_opus %}. |
| {% data variables.copilot.copilot_gemini_25_pro %} | Advanced reasoning across long contexts and scientific or technical analysis. |
| {% data variables.copilot.copilot_claude_opus_45 %} | Anthropic’s most powerful model. Improves on {% data variables.copilot.copilot_claude_opus %}. |
| {% data variables.copilot.copilot_gemini_3_pro %} | Advanced reasoning across long contexts and scientific or technical analysis. |

### When to use these models

Expand All @@ -117,11 +117,11 @@ For general development workflows or content generation, see [General-purpose co

Use these models when you want to ask questions about screenshots, diagrams, UI components, or other visual input. These models support multimodal input and are well suited for front-end work or visual debugging.

| Model | Why it's a good fit |
|-------|---------------------|
| {% data variables.copilot.copilot_gpt_5_mini %} | Reliable default for most coding and writing tasks. Fast, accurate, and supports multimodal input for visual reasoning tasks. Works well across languages and frameworks. |
| Model | Why it's a good fit |
|-------------------------------------------------------|---------------------|
| {% data variables.copilot.copilot_gpt_5_mini %} | Reliable default for most coding and writing tasks. Fast, accurate, and supports multimodal input for visual reasoning tasks. Works well across languages and frameworks. |
| {% data variables.copilot.copilot_claude_sonnet_40 %} | Improves on 3.7 with more reliable completions and smarter reasoning under pressure. |
| {% data variables.copilot.copilot_gemini_25_pro %} | Deep reasoning and debugging, ideal for complex code generation, debugging, and research workflows. |
| {% data variables.copilot.copilot_gemini_3_pro %} | Deep reasoning and debugging, ideal for complex code generation, debugging, and research workflows. |

### When to use these models

Expand Down
4 changes: 2 additions & 2 deletions content/copilot/reference/ai-models/supported-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ This table lists the AI models available in {% data variables.product.prodname_c

## Model retirement history

The following table lists AI models that have been retired from {% data variables.product.prodname_copilot_short %}, along with their retirement dates and suggested alternatives.
The following table lists AI models that are retired or scheduled for retirement from {% data variables.product.prodname_copilot_short %}, along with their retirement dates and suggested alternatives.

{% rowheaders %}

| Model name | Retired date | Suggested alternative |
| Model name | Retirement date | Suggested alternative |
|-------------------------------------------------------------|-----------------------------|-----------------------------------|
| {% for model in tables.copilot.model-deprecation-history %} |
| {{ model.name }} | {{ model.retirement_date }} | {{ model.suggested_alternative }} |
Expand Down
6 changes: 3 additions & 3 deletions content/copilot/tutorials/compare-ai-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ print(active_users_sorted)
* {% data variables.copilot.copilot_gpt_5_mini %} is optimized for cost and speed, making it ideal for quick edits, prototyping, and utility code.
* Use this model when you want reliable answers for simple coding questions without waiting for unnecessary depth.

## {% data variables.copilot.copilot_gpt_5 %}
## {% data variables.copilot.copilot_gpt_52 %}

{% data reusables.copilot.model-use-cases.gpt-5 %}
{% data reusables.copilot.model-use-cases.gpt-52 %}

### Example scenario

Expand Down Expand Up @@ -172,7 +172,7 @@ class Cart:
return Order("", None, 0)
```

### Why {% data variables.copilot.copilot_gpt_5 %} is a good fit
### Why {% data variables.copilot.copilot_gpt_52 %} is a good fit

* It can interpret visual assets, such as UML diagrams, wireframes, or flowcharts, to generate code scaffolding or suggest architecture.
* It can be useful for reviewing screenshots of UI layouts or form designs and generating.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ contentType: other
{% endapi %}

{% ifversion repo-rules-enterprise %}
{% data reusables.enterprise-migration-tool.deploy-key-bypass %}
{% data reusables.enterprise-migration-tool.repository-migrations-bypass %}
{% endif %}

## Prerequisites
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If your migration source is an account on {% data variables.product.prodname_dot
The data that {% data variables.product.prodname_importer_proper_name %} migrates depends on the source of the migration and whether you are migrating a repository or organization.

{% ifversion repo-rules-enterprise %}
{% data reusables.enterprise-migration-tool.deploy-key-bypass %}
{% data reusables.enterprise-migration-tool.repository-migrations-bypass %}
{% endif %}

## Considerations for migrations to {% data variables.product.prodname_ghe_cloud %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ Migrations to {% data variables.product.prodname_ghe_cloud %} include migrations
{% data reusables.enterprise-migration-tool.gei-tool-switcher-cli %}
{% endapi %}

{% ifversion repo-rules-enterprise %}
{% data reusables.enterprise-migration-tool.repository-migrations-bypass %}
{% endif %}

## Prerequisites

* {% data reusables.enterprise-migration-tool.github-trial-prerequisite %}
Expand Down
Loading
Loading