Skip to content

Commit d6ce5e5

Browse files
authored
Merge pull request github#35009 from github/repo-sync
Repo sync
2 parents 4560baa + 3bfda9e commit d6ce5e5

File tree

34 files changed

+6097
-430
lines changed

34 files changed

+6097
-430
lines changed

content/copilot/using-github-copilot/asking-github-copilot-questions-in-githubcom.md

Lines changed: 12 additions & 14 deletions
Large diffs are not rendered by default.

content/copilot/using-github-copilot/asking-github-copilot-questions-in-your-ide.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,21 +124,20 @@ The skills you can use in {% data variables.product.prodname_copilot_chat_short
124124

125125
| Skill | Description | Enabled by default? | Example question |
126126
| ----- | ----------- | ------------------- | ---------------- |
127-
| **Code search** | Natural language code search in the default branch of the Git repository. This skill is useful when you want to know where or how certain functionality has been implemented in the code. Note: the repository must be indexed - see "[AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/indexing-repositories-for-copilot-chat)." | Yes | `@github Where is the logic that controls the user session management, and how does it work?` |
128127
| **Commit details** | Retrieves a list of commits, or the contents of a specific commit, to provide answers to commit-related questions. | Yes | `@github Explain the changes in the code of this commit` |
129128
| **Discussion details** | Retrieves a specific {% data variables.product.prodname_dotcom %} discussion. This is useful for quickly getting the gist of the conversation in a discussion. | Yes | `@github Summarize this discussion LINK-TO-DISCUSSION` |
129+
| **File details** | Retrieves a specific file in the default branch of the Git repository, allowing you to ask questions about the file and the recent changes made to it. This skill is useful when you provide the exact path of a file in the repository. | Yes | `@github What logic does user_auth.js encapsulate?` <br> <br> `@github What is the file history of user_auth.js?` |
130+
| **{% data variables.product.prodname_GH_advanced_security %}** | Retrieves information about security alerts within your organization from {% data variables.product.prodname_GH_advanced_security %} features ({% data variables.product.prodname_code_scanning %}, {% data variables.product.prodname_secret_scanning %}, and {% data variables.product.prodname_dependabot_alerts %}). | Yes | `@github How would I fix this {% data variables.product.prodname_code_scanning %} alert?` |
130131
| **Issue details** | Retrieves a specific {% data variables.product.prodname_dotcom %} issue, including the issue's title, number, author, status, body, linked pull requests, comments, and timestamps. | Yes | `@github List issues assigned to me` |
131132
| {% ifversion ghec %} |
132133
| **Knowledge base search** | Tell {% data variables.product.prodname_copilot_chat_short %} to answer a question within the context of a knowledge base. To initiate a knowledge base search, first enter `@github #kb`. | Yes | Enter `@github #kb`, then choose your organization's style guide knowledge base, then ask: `What is our coding convention for indentation?` |
133134
| {% endif %} |
134-
| **File details** | Retrieves a specific file in the default branch of the Git repository, allowing you to ask questions about the file and the recent changes made to it. This skill is useful when you provide the exact path of a file in the repository. | Yes | `@github What logic does user_auth.js encapsulate?` <br> <br> `@github What is the file history of user_auth.js?` |
135135
| **Lexical code search** | Keyword code search in the default branch of the Git repository. This skill is useful when you want to know about specific functions, methods or keywords that exist in the code. This skill leverages most of the functionality available to [{% data variables.product.prodname_dotcom %} Search](/search-github/github-code-search/understanding-github-code-search-syntax#using-qualifiers) like `symbol` and `path`. | Yes | `Find me the tests for the GitService class` |
136136
| **Path search** | Retrieves a specific file in the default branch of the Git repository. This skill is useful when you provide the exact path of a file in the repository. | Yes | `@github What logic does user_auth.js encapsulate?` |
137137
| **Pull request details** | Retrieves a specific pull request. This allows you to ask questions about the pull request, including getting a summary of the pull request, its comments, or the code it changes. | Yes | `@github List my recent pull requests` |
138-
| **{% data variables.product.prodname_GH_advanced_security %}** | Retrieves information about security alerts within your organization from {% data variables.product.prodname_GH_advanced_security %} features ({% data variables.product.prodname_code_scanning %}, {% data variables.product.prodname_secret_scanning %}, and {% data variables.product.prodname_dependabot_alerts %}). | Yes | `@github How would I fix this {% data variables.product.prodname_code_scanning %} alert?` |
139138
| **Release details** | Retrieves the latest, or specified, release. This allows you to find out who created a release, when it happened, and information included in the release notes. | Yes | `@github When was the latest release?` |
140139
| **Repository details** | Retrieves a specific {% data variables.product.prodname_dotcom %} repository. This is useful for finding out details such as the repository owner and the main language used. | Yes | `@github Tell me about PATH-TO-REPOSITORY` |
141-
| **Symbol definition** | Retrieves the lines of code that define a specific code symbol (function, class, or struct) in the default branch of the Git repository. This skill is useful when you have the exact name of a symbol, and want to understand it. | Yes | `@github Write unit tests for the AuthUser method` |
140+
| **Semantic code search** | Natural language semantic code search in the default branch of the Git repository. This skill is useful when you want to know where or how certain functionality has been implemented in the code. Note: this requires indexing to be enabled for the repository (see "[AUTOTITLE](/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/indexing-repositories-for-copilot-chat)"). | Yes <br><br>Available for all repositories with a {% data variables.product.prodname_copilot_enterprise_short %} subscription, and for public repositories with a {% data variables.product.prodname_copilot_individuals_short %} or {% data variables.product.prodname_copilot_business_short %} subscription. | `How does this repo manage HTTP requests and responses?`|
142141
| **Support search** | Retrieves information from the {% data variables.contact.contact_support_portal %}. This skill is useful for asking {% data variables.product.prodname_copilot_chat_short %} about {% data variables.product.prodname_dotcom %} products and support related questions. | Yes | `@github Can I use {% data variables.product.prodname_copilot_short %} knowledge bases with {% data variables.product.prodname_copilot_individuals_short %}?` |
143142
| **Web search** | Searches the web using the Bing search engine. This skill is useful for teaching {% data variables.product.prodname_copilot_short %} about recent events, new developments, trends, technologies, or extremely specific, detailed, or niche subjects (only available with a {% data variables.product.prodname_copilot_enterprise_short %} or {% data variables.product.prodname_copilot_business_short %} subscription). | No (requires admin approval - see "[AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise)")| `@github #web What are some recent articles about SAT tokens securing against vulnerabilities in Node?` |
144143

@@ -261,11 +260,11 @@ The skills you can use in {% data variables.product.prodname_copilot_chat_short
261260

262261
| Skill | Description | Enabled by default? | Example question |
263262
| ------- | ----------- | ------------------- | -----------------|
264-
| **Code search** | Natural language code search in the default branch of the Git repository. This skill is useful when you want to know where or how certain functionality has been implemented in the code. Note: the repository must be indexed - see "[AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/indexing-repositories-for-copilot-chat)." | Yes | `@github Where is the logic that controls the user session management, and how does it work?` |
263+
| **Knowledge base search** | Tell {% data variables.product.prodname_copilot_chat_short %} to answer a question within the context of a knowledge base. To initiate a knowledge base search, first enter `@github`, then press **#**, then select a knowledge base. | Yes | Enter `@github #`, then choose your organization's style guide knowledge base, then ask: `What is our coding convention for indentation?` |
264+
| **Lexical code search** | Keyword code search in the default branch of the Git repository. This skill is useful when you want to know about specific functions, methods or keywords that exist in the code. This skill leverages most of the functionality available to [{% data variables.product.prodname_dotcom %} Search](/search-github/github-code-search/understanding-github-code-search-syntax#using-qualifiers) like `symbol` and `path`. | Yes | `Find me the tests for the GitService class` |
265265
| **Path search** | Retrieves a specific file in the default branch of the Git repository. This skill is useful when you provide the exact path of a file in the repository. | Yes | `@github What logic does user_auth.js encapsulate?` |
266-
| **Show symbol definition** | Retrieves the lines of code that define a specific code symbol (function, class, or struct) in the default branch of the Git repository. This skill is useful when you have the exact name of a symbol, and want to understand it. | Yes | `@github Write unit tests for the AuthUser method` |
266+
| **Semantic code search** | Natural language semantic code search in the default branch of the Git repository. This skill is useful when you want to know where or how certain functionality has been implemented in the code. Note: this requires indexing to be enabled for the repository (see "[AUTOTITLE](/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/indexing-repositories-for-copilot-chat)"). | Yes <br><br>Available for all repositories with a {% data variables.product.prodname_copilot_enterprise_short %} subscription, and for public repositories with a {% data variables.product.prodname_copilot_individuals_short %} or {% data variables.product.prodname_copilot_business_short %} subscription. | `How does this repo manage HTTP requests and responses?`|
267267
| **Web search** | Searches the web using the Bing search engine. This skill is useful for teaching Copilot about recent events, new developments, trends, technologies, or extremely specific, detailed, or niche subjects. | No (requires admin approval - see "[AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise)")| `@github What are some recent articles about SAT tokens securing against vulnerabilities in Node?` |
268-
| **Knowledge base search** | Tell {% data variables.product.prodname_copilot_chat_short %} to answer a question within the context of a knowledge base. To initiate a knowledge base search, first enter `@github`, then press **#**, then select a knowledge base. | Yes | Enter `@github #`, then choose your organization's style guide knowledge base, then ask: `What is our coding convention for indentation?` |
269268

270269
## Asking a question about a knowledge base (preview)
271270

content/rest/actions/self-hosted-runner-groups.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ intro: >-
88
topics:
99
- API
1010
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
11+
fpt: '*'
1112
ghec: '*'
1213
ghes: '*'
1314
autogenerated: rest

src/audit-logs/data/fpt/organization.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,6 +1544,11 @@
15441544
"description": "Push protection for secret scanning was enabled for all new repositories in the organization.",
15451545
"docs_reference_links": "/code-security/secret-scanning/push-protection-for-repositories-and-organizations"
15461546
},
1547+
{
1548+
"action": "org.security_center_export_code_scanning_metrics",
1549+
"description": "A CSV export was requested on the CodeQL pull request alerts page.",
1550+
"docs_reference_links": "N/A"
1551+
},
15471552
{
15481553
"action": "org.security_center_export_coverage",
15491554
"description": "A CSV export was requested on the Coverage page.",

src/audit-logs/data/fpt/user.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,16 @@
5959
"description": "N/A",
6060
"docs_reference_links": "N/A"
6161
},
62+
{
63+
"action": "business.security_center_export_code_scanning_metrics",
64+
"description": "A CSV export was requested on the \"CodeQL pull request alerts\" page.",
65+
"docs_reference_links": "N/A"
66+
},
67+
{
68+
"action": "business.security_center_export_overview_dashboard",
69+
"description": "A CSV export was requested on the \"Overview Dashboard\" page.",
70+
"docs_reference_links": "N/A"
71+
},
6272
{
6373
"action": "business.set_actions_fork_pr_approvals_policy",
6474
"description": "The policy for requiring approvals for workflows from public forks was changed for an enterprise.",
@@ -684,6 +694,11 @@
684694
"description": "A member was removed from an organization, either manually or due to a two-factor authentication requirement.",
685695
"docs_reference_links": "N/A"
686696
},
697+
{
698+
"action": "org.security_center_export_code_scanning_metrics",
699+
"description": "A CSV export was requested on the CodeQL pull request alerts page.",
700+
"docs_reference_links": "N/A"
701+
},
687702
{
688703
"action": "org.security_center_export_coverage",
689704
"description": "A CSV export was requested on the Coverage page.",

src/audit-logs/data/ghec/enterprise.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,11 @@
219219
"description": "The policy for Code scanning autofix was updated for an enterprise.",
220220
"docs_reference_links": "N/A"
221221
},
222+
{
223+
"action": "business.code_scanning_autofix_third_party_tools_policy_update",
224+
"description": "The policy for Code scanning autofix third party tools was updated for an enterprise.",
225+
"docs_reference_links": "N/A"
226+
},
222227
{
223228
"action": "business.connect_usage_metrics_export",
224229
"description": "Server statistics were exported for the enterprise.",
@@ -554,6 +559,16 @@
554559
"description": "N/A",
555560
"docs_reference_links": "N/A"
556561
},
562+
{
563+
"action": "business.security_center_export_code_scanning_metrics",
564+
"description": "A CSV export was requested on the \"CodeQL pull request alerts\" page.",
565+
"docs_reference_links": "N/A"
566+
},
567+
{
568+
"action": "business.security_center_export_overview_dashboard",
569+
"description": "A CSV export was requested on the \"Overview Dashboard\" page.",
570+
"docs_reference_links": "N/A"
571+
},
557572
{
558573
"action": "business.set_actions_fork_pr_approvals_policy",
559574
"description": "The policy for requiring approvals for workflows from public forks was changed for an enterprise.",

src/audit-logs/data/ghec/organization.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,6 +1544,11 @@
15441544
"description": "Push protection for secret scanning was enabled for all new repositories in the organization.",
15451545
"docs_reference_links": "/code-security/secret-scanning/push-protection-for-repositories-and-organizations"
15461546
},
1547+
{
1548+
"action": "org.security_center_export_code_scanning_metrics",
1549+
"description": "A CSV export was requested on the CodeQL pull request alerts page.",
1550+
"docs_reference_links": "N/A"
1551+
},
15471552
{
15481553
"action": "org.security_center_export_coverage",
15491554
"description": "A CSV export was requested on the Coverage page.",

src/audit-logs/data/ghec/user.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,16 @@
5959
"description": "N/A",
6060
"docs_reference_links": "N/A"
6161
},
62+
{
63+
"action": "business.security_center_export_code_scanning_metrics",
64+
"description": "A CSV export was requested on the \"CodeQL pull request alerts\" page.",
65+
"docs_reference_links": "N/A"
66+
},
67+
{
68+
"action": "business.security_center_export_overview_dashboard",
69+
"description": "A CSV export was requested on the \"Overview Dashboard\" page.",
70+
"docs_reference_links": "N/A"
71+
},
6272
{
6373
"action": "business.set_actions_fork_pr_approvals_policy",
6474
"description": "The policy for requiring approvals for workflows from public forks was changed for an enterprise.",
@@ -684,6 +694,11 @@
684694
"description": "A member was removed from an organization, either manually or due to a two-factor authentication requirement.",
685695
"docs_reference_links": "N/A"
686696
},
697+
{
698+
"action": "org.security_center_export_code_scanning_metrics",
699+
"description": "A CSV export was requested on the CodeQL pull request alerts page.",
700+
"docs_reference_links": "N/A"
701+
},
687702
{
688703
"action": "org.security_center_export_coverage",
689704
"description": "A CSV export was requested on the Coverage page.",

src/audit-logs/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"apiOnlyEvents": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
44
"apiRequestEvent": "This event is only available via audit log streaming."
55
},
6-
"sha": "d5e464291d8f2559b1c5b7398c16d43c61f79548"
6+
"sha": "04cd944770d148dc72b686a2f1a03894f120dbc6"
77
}

0 commit comments

Comments
 (0)