Skip to content

Commit eb19c00

Browse files
authored
Merge pull request #38742 from github/repo-sync
Repo sync
2 parents 12d3f55 + 092c008 commit eb19c00

File tree

6 files changed

+58
-29
lines changed

6 files changed

+58
-29
lines changed

content/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,15 @@ If you added manual build steps for compiled languages and {% data variables.pro
308308

309309
## Building C/C++
310310

311-
{% ifversion codeql-no-build %}{% data variables.product.prodname_codeql %} supports build modes `autobuild` or `manual` for C/C++ code.
311+
{% ifversion codeql-no-build %}{% data variables.product.prodname_codeql %} supports build modes {% ifversion codeql-no-build-c-cpp %}`none`, {% endif %}`autobuild` or `manual` for C/C++ code.
312+
313+
{% ifversion codeql-no-build-c-cpp %}
314+
315+
When you enable default setup for a repository that contains C/C++ code, the build mode is set to `none` automatically.
316+
317+
>[!NOTE] Support of build mode `none` for C/C++ codebases is currently in {% data variables.release-phases.public_preview %} and subject to change.
318+
319+
{% endif %}
312320

313321
### Autobuild summary for C/C++{% endif %}
314322

content/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ In addition, for {% data variables.code-scanning.no_build_support %}, there is a
201201
The {% data variables.product.prodname_codeql_cli %} includes autobuilders for {% data variables.code-scanning.compiled_languages %} code. {% data variables.product.prodname_codeql %} autobuilders allow you to build projects for compiled languages without specifying any build commands. When an autobuilder is invoked, {% data variables.product.prodname_codeql %} examines the source for evidence of a build system and attempts to run the optimal set of commands required to extract a database. For more information, see [AUTOTITLE](/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#about-autobuild).
202202

203203
An autobuilder is invoked automatically when you execute `codeql database create` for a compiled language if you don’t include a
204-
`--command` option{% ifversion codeql-no-build %} or set `--build-mode none`{% endif %}. For example, for a C/C++ codebase, you could simply run:
204+
`--command` option{% ifversion codeql-no-build %} or set `--build-mode none`{% endif %}. For example, for a Swift codebase, you could simply run:
205205

206206
```shell
207-
codeql database create --language=cpp <output-folder>/cpp-database
207+
codeql database create --language=swift <output-folder>/swift-database
208208
```
209209

210210
If a codebase uses a standard build system, relying on an autobuilder is often the simplest way to create a database. For sources that require non-standard build steps, you may need to explicitly define each step in the command line.

content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md

Lines changed: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ topics:
88
- Copilot
99
---
1010

11-
By default, {% data variables.copilot.copilot_chat_short %} uses a base model to provide fast, capable responses for a wide range of tasks, such as summarization, knowledge-based questions, reasoning, math, and coding.
11+
By default, {% data variables.copilot.copilot_chat_short %} uses {% data variables.copilot.copilot_gpt_41 %} to provide fast, capable responses for a wide range of tasks, such as summarization, knowledge-based questions, reasoning, math, and coding.
1212

1313
However, you are not limited to using this model. You can choose from a selection of other models, each with its own particular strengths. You may have a favorite model that you like to use, or you might prefer to use a particular model for inquiring about a specific subject.
1414

@@ -21,9 +21,8 @@ Changing the model that's used by {% data variables.copilot.copilot_chat_short %
2121
{% webui %}
2222

2323
> [!NOTE]
24-
> * Multiple model support in {% data variables.copilot.copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
25-
> * Support for GPT-4.5 is only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
26-
> * You can only use an alternative AI model in the immersive view of {% data variables.copilot.copilot_chat_short %}. This is the full-page version of {% data variables.copilot.copilot_chat_short %} that's displayed at [https://github.com/copilot](https://github.com/copilot). The {% data variables.copilot.copilot_chat_short %} panel always uses the default model.
24+
> * Support for {% data variables.copilot.copilot_gpt_45 %}, {% data variables.copilot.copilot_claude_opus %}, and {% data variables.copilot.copilot_o3 %} are only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
25+
> * You can only use an alternative AI model in the immersive view of {% data variables.copilot.copilot_chat_short %} on GitHub.com. This is the full-page version of {% data variables.copilot.copilot_chat_short %} that's displayed at [https://github.com/copilot](https://github.com/copilot). The {% data variables.copilot.copilot_chat_short %} panel always uses the default model.
2726
2827
## AI models for {% data variables.copilot.copilot_chat_short %}
2928

@@ -35,14 +34,14 @@ The following models are currently available in the immersive mode of {% data va
3534
* {% data variables.copilot.copilot_claude_sonnet_35 %}
3635
* {% data variables.copilot.copilot_claude_sonnet_37 %}
3736
* {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
38-
* {% data variables.copilot.copilot_claude_sonnet_40 %}
39-
* {% data variables.copilot.copilot_claude_opus %}
37+
* {% data variables.copilot.copilot_claude_sonnet_40 %} (preview)
38+
* {% data variables.copilot.copilot_claude_opus %} (preview)
4039
* {% data variables.copilot.copilot_gemini_flash %}
4140
* {% data variables.copilot.copilot_gemini_25_pro %} (preview)
42-
* {% data variables.copilot.copilot_o1 %}
43-
* {% data variables.copilot.copilot_o3 %}
41+
* {% data variables.copilot.copilot_o1 %} (preview)
42+
* {% data variables.copilot.copilot_o3 %} (preview)
4443
* {% data variables.copilot.copilot_o3_mini %}
45-
* {% data variables.copilot.copilot_o4_mini %}
44+
* {% data variables.copilot.copilot_o4_mini %} (preview)
4645

4746
For more information about these models, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task).
4847

@@ -58,11 +57,11 @@ These instructions are for {% data variables.product.prodname_copilot_short %} o
5857

5958
> [!NOTE] If you use {% data variables.copilot.copilot_extensions_short %}, they may override the model you select.
6059
61-
1. In the top right of any page on {% data variables.product.github %}, click {% octicon "triangle-down" aria-label="The downwards triangle icon" %} beside the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** icon and click **Immersive** in the dropdown menu.
60+
1. In the top right of any page on {% data variables.product.github %}, click the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** icon.
6261

63-
![Screenshot of the 'Immersive' button, highlighted with a dark orange outline.](/assets/images/help/copilot/copilot-immersive-button.png)
62+
![Screenshot of the 'Copilot' button, highlighted with a dark orange outline.](/assets/images/help/copilot/copilot-icon-top-right.png)
6463

65-
1. At the top of the immersive view, select the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then click the AI model of your choice.
64+
1. At the bottom of the immersive view, select the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then click the AI model of your choice.
6665

6766
1. Optionally, after submitting a prompt, you can regenerate the same prompt using a different model by clicking the retry icon ({% octicon "sync" aria-label="The re-run icon" %}) below the response. The new response will use your selected model and maintain the full context of the conversation.
6867

@@ -72,7 +71,7 @@ These instructions are for {% data variables.product.prodname_copilot_short %} o
7271

7372
> [!NOTE]
7473
> * Multiple model support in {% data variables.copilot.copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
75-
> * Support for GPT-4.5 is only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
74+
> * Support for {% data variables.copilot.copilot_gpt_45 %}, {% data variables.copilot.copilot_claude_opus %}, and {% data variables.copilot.copilot_o3 %} are only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
7675
7776
## AI models for {% data variables.copilot.copilot_chat_short %}
7877

@@ -84,13 +83,14 @@ The following models are currently available through multi-model {% data variabl
8483
* {% data variables.copilot.copilot_claude_sonnet_35 %}
8584
* {% data variables.copilot.copilot_claude_sonnet_37 %}
8685
* {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
87-
* {% data variables.copilot.copilot_claude_sonnet_40 %}
88-
* {% data variables.copilot.copilot_claude_opus %}
86+
* {% data variables.copilot.copilot_claude_sonnet_40 %} (preview)
87+
* {% data variables.copilot.copilot_claude_opus %} (preview)
8988
* {% data variables.copilot.copilot_gemini_flash %}
90-
* {% data variables.copilot.copilot_o1 %}
91-
* {% data variables.copilot.copilot_o3 %}
89+
* {% data variables.copilot.copilot_gemini_25_pro %} (preview)
90+
* {% data variables.copilot.copilot_o1 %} (preview)
91+
* {% data variables.copilot.copilot_o3 %} (preview)
9292
* {% data variables.copilot.copilot_o3_mini %}
93-
* {% data variables.copilot.copilot_o4_mini %}
93+
* {% data variables.copilot.copilot_o4_mini %} (preview)
9494

9595
For more information about these models, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task).
9696

@@ -109,17 +109,22 @@ These instructions are for {% data variables.product.prodname_vscode_shortname %
109109

110110
{% visualstudio %}
111111

112-
> [!NOTE] Multiple model support in {% data variables.copilot.copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
113-
114112
## AI models for {% data variables.copilot.copilot_chat_short %}
115113

116114
The following models are currently available through multi-model {% data variables.copilot.copilot_chat_short %}:
117115

118116
* {% data variables.copilot.copilot_gpt_4o %}
117+
* {% data variables.copilot.copilot_gpt_41 %}
118+
* {% data variables.copilot.copilot_gpt_45 %} (preview)
119119
* {% data variables.copilot.copilot_claude_sonnet_35 %}
120120
* {% data variables.copilot.copilot_claude_sonnet_37 %}
121-
* {% data variables.copilot.copilot_o1 %}
121+
* {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
122+
* {% data variables.copilot.copilot_gemini_flash %}
123+
* {% data variables.copilot.copilot_gemini_25_pro %} (preview)
124+
* {% data variables.copilot.copilot_o1 %} (preview)
125+
* {% data variables.copilot.copilot_o3 %} (preview)
122126
* {% data variables.copilot.copilot_o3_mini %}
127+
* {% data variables.copilot.copilot_o4_mini %} (preview)
123128

124129
For more information about these models, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task).
125130

@@ -142,7 +147,7 @@ To use multi-model {% data variables.copilot.copilot_chat_short %}, you must use
142147

143148
> [!NOTE]
144149
> * Multiple model support in {% data variables.copilot.copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
145-
> * Support for GPT-4.5 is only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
150+
> * Support for {% data variables.copilot.copilot_gpt_45 %} and {% data variables.copilot.copilot_o3 %} are only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
146151
147152
## AI models for {% data variables.copilot.copilot_chat_short %}
148153

@@ -181,20 +186,24 @@ These instructions are for the JetBrains IDEs. For instructions on different cli
181186

182187
> [!NOTE]
183188
> * Multiple model support in {% data variables.copilot.copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
184-
> * Support for GPT-4.5 is only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
189+
> * Support for {% data variables.copilot.copilot_gpt_45 %} and {% data variables.copilot.copilot_o3 %} are only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
185190
186191
## AI models for {% data variables.copilot.copilot_chat_short %}
187192

188193
The following models are currently available through multi-model {% data variables.copilot.copilot_chat_short %}:
189194

190195
* {% data variables.copilot.copilot_gpt_4o %}
196+
* {% data variables.copilot.copilot_gpt_41 %}
191197
* {% data variables.copilot.copilot_gpt_45 %} (preview)
192198
* {% data variables.copilot.copilot_claude_sonnet_35 %}
193199
* {% data variables.copilot.copilot_claude_sonnet_37 %}
194200
* {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
195201
* {% data variables.copilot.copilot_gemini_flash %}
202+
* {% data variables.copilot.copilot_gemini_25_pro %} (preview)
196203
* {% data variables.copilot.copilot_o1 %} (preview)
204+
* {% data variables.copilot.copilot_o3 %} (preview)
197205
* {% data variables.copilot.copilot_o3_mini %}
206+
* {% data variables.copilot.copilot_o4_mini %} (preview)
198207

199208
For more information about these models, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task).
200209

@@ -216,7 +225,7 @@ These instructions are for the Eclipse IDE. For instructions on different client
216225

217226
> [!NOTE]
218227
> * Multiple model support in {% data variables.copilot.copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
219-
> * Support for GPT-4.5 is only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
228+
> * Support for {% data variables.copilot.copilot_gpt_45 %} and {% data variables.copilot.copilot_o3 %} are only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
220229
221230
## AI models for {% data variables.copilot.copilot_chat_short %}
222231

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Reference: #16543 (C/C++ public preview)
2+
3+
versions:
4+
fpt: '*'
5+
ghec: '*'

data/variables/code-scanning.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ codeql_workflow: 'CodeQL analysis workflow'
77
tool_status_page: 'tool status page'
88

99
# List of compiled languages supported for `no-build` extraction
10-
no_build_support: '{% ifversion codeql-no-build-csharp %}C# and{% endif %} Java'
10+
no_build_support: '{% ifversion codeql-no-build-c-cpp %}C/C++, {% endif %}{% ifversion codeql-no-build-csharp %}C# and{% endif %} Java'
1111

1212
# List of compiled languages
1313
compiled_languages: 'C/C++, C#, Go, Java, Kotlin, and Swift'

src/links/scripts/rendered-content-link-checker.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,9 +570,16 @@ function flawIssueDisplay(flaws: LinkFlaw[], opts: Options, mentionExternalExclu
570570
'For more information, see [Fixing broken links in GitHub user docs](https://github.com/github/docs/blob/main/src/links/lib/README.md).'
571571
}
572572

573-
return `${flawsToDisplay} broken${
573+
output = `${flawsToDisplay} broken${
574574
opts.commentLimitToExternalLinks ? ' **external** ' : ' '
575575
}links found in [this](${opts.actionUrl}) workflow.\n${output}`
576+
577+
// limit is 65536
578+
if (output.length > 60000) {
579+
output = output.slice(0, 60000) + '\n\n---\n\nOUTPUT TRUNCATED'
580+
}
581+
582+
return output
576583
}
577584

578585
function printGlobalCacheHitRatio(core: CoreInject) {

0 commit comments

Comments
 (0)