You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8c165a1
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: content/code-security/concepts/secret-security/secret-scanning.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,9 +69,7 @@ Beyond the default detection of partner and provider secrets, you can expand and
69
69
70
70
### About validity checks
71
71
72
-
Validity checks help you prioritize which secrets to remediate first by verifying whether a detected secret is still active. When you enable validity checks, {% data variables.product.prodname_secret_scanning %} may contact the secret's issuing service to determine if the credential has been revoked.
73
-
74
-
Validity checks are separate from {% data variables.product.prodname_secret_scanning %}'s partner program. While partner secrets are automatically reported to service providers for revocation, validity checks verify the status of secrets you manage in your own alerts. For more information, see [AUTOTITLE](/code-security/concepts/secret-security/validity-checks).
72
+
Validity checks help you prioritize which secrets to remediate first by verifying whether a detected secret is still active. When you enable validity checks, {% data variables.product.prodname_secret_scanning %} may contact the secret's issuing service to determine if the credential has been revoked. For more information, see [AUTOTITLE](/code-security/concepts/secret-security/validity-checks).
Copy file name to clipboardExpand all lines: content/copilot/how-tos/copilot-cli/customize-copilot/use-byok-models.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: Using your own LLM models in GitHub Copilot CLI
3
-
shortTitle: Use your own model provider
2
+
title: Adding LLM models to GitHub Copilot CLI
3
+
shortTitle: Add LLM models
4
4
intro: 'Use a model from an external provider of your choice in {% data variables.product.prodname_copilot_short %} by supplying your own API key.'
5
5
allowTitleToDifferFromFilename: true
6
6
versions:
@@ -14,7 +14,7 @@ docsTeamMetrics:
14
14
- copilot-cli
15
15
---
16
16
17
-
You can configure {% data variables.copilot.copilot_cli_short %} to use your own LLM provider, also called BYOK (Bring Your Own Key), instead of {% data variables.product.github %}-hosted models. This lets you connect to OpenAI-compatible endpoints, Azure OpenAI, or Anthropic, including locally running models such as Ollama.
17
+
You can configure {% data variables.copilot.copilot_cli_short %} to include models from an LLM provider of your choice—using BYOK (Bring Your Own Key)—in addition to the {% data variables.product.github %}-hosted models. This lets you connect to OpenAI-compatible endpoints, Azure OpenAI, or Anthropic, including locally running models such as Ollama.
18
18
19
19
> [!NOTE]
20
20
> This article is for users who want to configure their own LLM provider API key on their local machine. To set up custom models for users in an enterprise, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/enable-custom-models).
@@ -143,5 +143,5 @@ You can run {% data variables.copilot.copilot_cli_short %} in offline mode to pr
143
143
```shell
144
144
export COPILOT_OFFLINE=true
145
145
```
146
-
146
+
147
147
1. {% data reusables.copilot.copilot-cli.start-cli %}
> Support to use your own model provider in the {% data variables.copilot.github_copilot_app %} is in {% data variables.release-phases.public_preview %} and subject to change.
17
17
18
-
You can configure the {% data variables.copilot.github_copilot_app %} to use your own LLM provider, also called BYOK (Bring Your Own Key), instead of {% data variables.product.github %}-hosted models. You can set up your model provider when you first open the app or later in app settings.
18
+
You can configure the {% data variables.copilot.github_copilot_app %} to include models from an LLM provider of your choice—using BYOK (Bring Your Own Key)—in addition to the {% data variables.product.github %}-hosted models. You can set up your model provider when you first open the app or later in app settings.
19
19
20
20
You must sign in with a {% data variables.product.github %} account to use the app, but you do not need a {% data variables.product.prodname_copilot_short %} plan if you use your own model provider. If you do have a {% data variables.product.prodname_copilot_short %} plan, you can use both your own model provider and {% data variables.product.github %}-hosted models in the same app.
Copy file name to clipboardExpand all lines: content/copilot/tutorials/stack-ai-generated-code-in-pull-requests.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,6 @@ category:
10
10
- Team collaboration
11
11
---
12
12
13
-
> [!NOTE]
14
-
> Stacked pull requests are in {% data variables.release-phases.public_preview %} and subject to change.
15
-
16
13
Large pull requests are difficult to review and create bottlenecks, especially when AI helps you generate a high volume of code in a short time. Review quality also degrades as pull request size increases. Reviewers may skim the result, miss issues, or procrastinate and leave the pull request until it grows stale and develops merge conflicts.
17
14
18
15
Stacked pull requests keep large code changes reviewable.
Copy file name to clipboardExpand all lines: content/pull-requests/how-tos/create-pull-requests/creating-stacked-pull-requests.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,6 @@ category:
9
9
- Create pull requests
10
10
---
11
11
12
-
{% data reusables.public-preview.public-preview %}
13
-
14
12
Create stacked pull requests with the `gh stack` extension in {% data variables.product.prodname_cli %} or on the {% data variables.product.github %} website.
Copy file name to clipboardExpand all lines: content/pull-requests/how-tos/create-pull-requests/managing-stacked-pull-requests.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,6 @@ category:
9
9
- Create pull requests
10
10
---
11
11
12
-
{% data reusables.public-preview.public-preview %}
13
-
14
12
As you iterate on a stack, you often need to make changes in a lower layer, rebase to keep a linear history, or restructure its branches. The `gh stack` extension in {% data variables.product.prodname_cli %} handles these tasks with cascading operations that update every affected branch. See [AUTOTITLE](/pull-requests/reference/stacked-prs-cli-commands).
Copy file name to clipboardExpand all lines: content/pull-requests/how-tos/merge-and-close-pull-requests/merging-stacked-pull-requests.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,6 @@ category:
9
9
- Merge and close pull requests
10
10
---
11
11
12
-
{% data reusables.public-preview.public-preview %}
13
-
14
12
Stacked pull requests merge from the bottom (closest to the trunk) up.
15
13
16
14
* You can merge any number of pull requests at once, as long as they form a contiguous group starting from the lowest unmerged pull request.
@@ -24,7 +22,7 @@ The merge box for a stacked pull request shows the status of the entire stack, n
24
22
* The stack has a linear history.
25
23
* The current pull request meets all branch protection requirements for the stack base, such as `main`.
26
24
27
-
If the stack is not linear, for example, after changes were pushed to a lower branch or after the trunk moved ahead, a **Rebase stack** button will appear in the merge box and you'll need to rebase the stack before you can merge.
25
+
If the stack is not linear, for example, after changes were pushed to a lower branch or after the trunk moved ahead, a **Rebase stack** button will appear in the merge box and you'll need to rebase the stack before you can merge. Rebasing the stack will generate signed commits, and retain approvals if a diff has not changed, even if you have the **dismiss stale approvals** rule enabled.
28
26
29
27
> [!NOTE]
30
28
> * If you merge via the API and want to use stacked pull requests, you'll need use the asynchronous merge API for stacks. See [AUTOTITLE](/rest/pulls/pulls?apiVersion=2026-03-10#merge-a-pull-request-asynchronously).
@@ -35,7 +33,7 @@ If the stack is not linear, for example, after changes were pushed to a lower br
35
33
Stacks fully support merge queues. All pull requests in the stack are added to the queue in the correct order. If a pull request is removed or ejected from the queue, all pull requests above it in the stack are also removed.
36
34
37
35
> [!NOTE]
38
-
> To keep a stack together, the merge queue allows the merge group to exceed its configured maximum size by up to 50 percent. If the stack is too large to fit within that buffer, it will automatically be split across consecutive merge groups.
36
+
> To keep a stack together, the merge queue allows the merge group to exceed its configured maximum size by up to 50 percent. If the stack is too large to fit within that buffer, it will automatically be put into the next merge group as a single unit.
Copy file name to clipboardExpand all lines: content/pull-requests/how-tos/merge-and-close-pull-requests/optimizing-ci-for-stacked-pull-requests.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,6 @@ category:
9
9
- Merge and close pull requests
10
10
---
11
11
12
-
{% data reusables.public-preview.public-preview %}
13
-
14
12
Every pull request in a stack is evaluated as if it targets the base of the stack, such as `main`. This keeps quality consistent across every layer, but it also means a workflow can run many times for a single stack. This article explains how workflows run for a stack and how to reduce redundant CI usage.
0 commit comments