Skip to content

Commit

Permalink
Merge pull request github#35009 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Oct 19, 2024
2 parents 4560baa + 3bfda9e commit d6ce5e5
Show file tree
Hide file tree
Showing 34 changed files with 6,097 additions and 430 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -124,21 +124,20 @@ The skills you can use in {% data variables.product.prodname_copilot_chat_short

| Skill | Description | Enabled by default? | Example question |
| ----- | ----------- | ------------------- | ---------------- |
| **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?` |
| **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` |
| **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` |
| **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?` |
| **{% 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?` |
| **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` |
| {% ifversion ghec %} |
| **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?` |
| {% endif %} |
| **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?` |
| **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` |
| **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?` |
| **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` |
| **{% 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?` |
| **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?` |
| **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` |
| **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` |
| **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?`|
| **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 %}?` |
| **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?` |

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

| Skill | Description | Enabled by default? | Example question |
| ------- | ----------- | ------------------- | -----------------|
| **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?` |
| **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?` |
| **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` |
| **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?` |
| **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` |
| **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?`|
| **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?` |
| **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?` |

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

Expand Down
1 change: 1 addition & 0 deletions content/rest/actions/self-hosted-runner-groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ intro: >-
topics:
- API
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
ghec: '*'
ghes: '*'
autogenerated: rest
Expand Down
5 changes: 5 additions & 0 deletions src/audit-logs/data/fpt/organization.json
Original file line number Diff line number Diff line change
Expand Up @@ -1544,6 +1544,11 @@
"description": "Push protection for secret scanning was enabled for all new repositories in the organization.",
"docs_reference_links": "/code-security/secret-scanning/push-protection-for-repositories-and-organizations"
},
{
"action": "org.security_center_export_code_scanning_metrics",
"description": "A CSV export was requested on the CodeQL pull request alerts page.",
"docs_reference_links": "N/A"
},
{
"action": "org.security_center_export_coverage",
"description": "A CSV export was requested on the Coverage page.",
Expand Down
15 changes: 15 additions & 0 deletions src/audit-logs/data/fpt/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@
"description": "N/A",
"docs_reference_links": "N/A"
},
{
"action": "business.security_center_export_code_scanning_metrics",
"description": "A CSV export was requested on the \"CodeQL pull request alerts\" page.",
"docs_reference_links": "N/A"
},
{
"action": "business.security_center_export_overview_dashboard",
"description": "A CSV export was requested on the \"Overview Dashboard\" page.",
"docs_reference_links": "N/A"
},
{
"action": "business.set_actions_fork_pr_approvals_policy",
"description": "The policy for requiring approvals for workflows from public forks was changed for an enterprise.",
Expand Down Expand Up @@ -684,6 +694,11 @@
"description": "A member was removed from an organization, either manually or due to a two-factor authentication requirement.",
"docs_reference_links": "N/A"
},
{
"action": "org.security_center_export_code_scanning_metrics",
"description": "A CSV export was requested on the CodeQL pull request alerts page.",
"docs_reference_links": "N/A"
},
{
"action": "org.security_center_export_coverage",
"description": "A CSV export was requested on the Coverage page.",
Expand Down
15 changes: 15 additions & 0 deletions src/audit-logs/data/ghec/enterprise.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@
"description": "The policy for Code scanning autofix was updated for an enterprise.",
"docs_reference_links": "N/A"
},
{
"action": "business.code_scanning_autofix_third_party_tools_policy_update",
"description": "The policy for Code scanning autofix third party tools was updated for an enterprise.",
"docs_reference_links": "N/A"
},
{
"action": "business.connect_usage_metrics_export",
"description": "Server statistics were exported for the enterprise.",
Expand Down Expand Up @@ -554,6 +559,16 @@
"description": "N/A",
"docs_reference_links": "N/A"
},
{
"action": "business.security_center_export_code_scanning_metrics",
"description": "A CSV export was requested on the \"CodeQL pull request alerts\" page.",
"docs_reference_links": "N/A"
},
{
"action": "business.security_center_export_overview_dashboard",
"description": "A CSV export was requested on the \"Overview Dashboard\" page.",
"docs_reference_links": "N/A"
},
{
"action": "business.set_actions_fork_pr_approvals_policy",
"description": "The policy for requiring approvals for workflows from public forks was changed for an enterprise.",
Expand Down
5 changes: 5 additions & 0 deletions src/audit-logs/data/ghec/organization.json
Original file line number Diff line number Diff line change
Expand Up @@ -1544,6 +1544,11 @@
"description": "Push protection for secret scanning was enabled for all new repositories in the organization.",
"docs_reference_links": "/code-security/secret-scanning/push-protection-for-repositories-and-organizations"
},
{
"action": "org.security_center_export_code_scanning_metrics",
"description": "A CSV export was requested on the CodeQL pull request alerts page.",
"docs_reference_links": "N/A"
},
{
"action": "org.security_center_export_coverage",
"description": "A CSV export was requested on the Coverage page.",
Expand Down
15 changes: 15 additions & 0 deletions src/audit-logs/data/ghec/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@
"description": "N/A",
"docs_reference_links": "N/A"
},
{
"action": "business.security_center_export_code_scanning_metrics",
"description": "A CSV export was requested on the \"CodeQL pull request alerts\" page.",
"docs_reference_links": "N/A"
},
{
"action": "business.security_center_export_overview_dashboard",
"description": "A CSV export was requested on the \"Overview Dashboard\" page.",
"docs_reference_links": "N/A"
},
{
"action": "business.set_actions_fork_pr_approvals_policy",
"description": "The policy for requiring approvals for workflows from public forks was changed for an enterprise.",
Expand Down Expand Up @@ -684,6 +694,11 @@
"description": "A member was removed from an organization, either manually or due to a two-factor authentication requirement.",
"docs_reference_links": "N/A"
},
{
"action": "org.security_center_export_code_scanning_metrics",
"description": "A CSV export was requested on the CodeQL pull request alerts page.",
"docs_reference_links": "N/A"
},
{
"action": "org.security_center_export_coverage",
"description": "A CSV export was requested on the Coverage page.",
Expand Down
2 changes: 1 addition & 1 deletion src/audit-logs/lib/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"apiOnlyEvents": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
"apiRequestEvent": "This event is only available via audit log streaming."
},
"sha": "d5e464291d8f2559b1c5b7398c16d43c61f79548"
"sha": "04cd944770d148dc72b686a2f1a03894f120dbc6"
}
Loading

0 comments on commit d6ce5e5

Please sign in to comment.