Skip to content

Repo sync #38281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2025
Merged
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
Original file line number Diff line number Diff line change
@@ -40,7 +40,14 @@ For caching to work, the runner must be able to communicate with the blob storag

You must ensure that the machine has the appropriate network access with at least 70 kilobits per second upload and download speed to communicate with the {% data variables.product.prodname_dotcom %} hosts listed below. Some hosts are required for essential runner operations, while other hosts are only required for certain functionality.

You can use the REST API to get meta information about {% data variables.product.company_short %}, including the IP addresses of {% data variables.product.company_short %} services. See [AUTOTITLE](/rest/meta/meta).
You can use the REST API to get meta information about {% data variables.product.company_short %}, including the IP addresses and domain details for {% data variables.product.company_short %} services. The `actions_inbound` section of the API supports both fully qualified and wildcard domains. Fully qualified domains specify a complete domain name (e.g., `example.github.com`), while wildcard domains use a `*` to represent multiple possible subdomains (e.g., `*.github.com`). An example of the self-hosted runner requirements using wildcard domains has been listed below. For more information, see [AUTOTITLE](/rest/meta/meta).

```shell copy
github.com
*.github.com
*.githubusercontent.com
ghcr.io
```

{% data reusables.actions.domain-name-cname-recursive-firewall-rules %}

@@ -71,6 +78,15 @@ codeload.github.com
pkg.actions.githubusercontent.com
```

You can use the REST API to get meta information about {% data variables.product.company_short %}, including the IP addresses and domain details for {% data variables.product.company_short %} services. The `actions_inbound` section of the API supports both fully qualified and wildcard domains. Fully qualified domains specify a complete domain name (e.g., `example.github.com`), while wildcard domains use a `*` to represent multiple possible subdomains (e.g., `*.github.com`). An example of the self-hosted runner requirements using wildcard domains has been listed below. For more information, see [AUTOTITLE](/rest/meta/meta).

```shell copy
github.com
*.github.com
*.githubusercontent.com
ghcr.io
```

{% data reusables.actions.domain-name-cname-recursive-firewall-rules %}

{% endif %}
Original file line number Diff line number Diff line change
@@ -330,19 +330,7 @@ You can specify which languages you want to enable or disable {% data variables.
1. Under "Enable or disable {% data variables.product.prodname_copilot_short %} for specified languages," click **Edit in settings.json**.
1. In the _settings.json_ file, add or remove the languages you want to enable or disable {% data variables.product.prodname_copilot %} for. For example, to enable Python in {% data variables.product.prodname_copilot %}, add `"python": true` to the list, ensuring there is a trailing comma after all but the last list item.

```json
{
"editor.inlineSuggest.enabled": true,
"github.copilot.enable": {
"*": true,
"yaml": false,
"plaintext": false,
"markdown": true,
"javascript": true,
"python": true
}
}
```
{% data reusables.copilot.vs-code-settings-json-ex %}

## Revoking {% data variables.product.prodname_copilot %} authorization

@@ -431,22 +419,22 @@ If you don't want to use the default keyboard shortcuts for {% data variables.pr

If you want to use something besides <kbd>Tab</kbd> to accept the first line of a suggestion, you need to disable the "Accept suggestions with Tab" option in the advanced settings in the {% data variables.product.prodname_copilot %} for Xcode application. Additionally, we currently only support the <kbd>Option</kbd> key for the "View full suggestion" action.

1. In the Xcode menu bar, click **Settings**.
1. In the Xcode menu, click **Xcode** then **Settings**.
1. Click **Key Bindings** and search for "{% data variables.product.prodname_copilot_short %}" to find the commands you want to rebind.

## Enabling or disabling {% data variables.product.prodname_copilot %}

You can enable or disable the {% data variables.product.prodname_copilot %} extension from within the application.

1. Open the {% data variables.product.prodname_copilot %} extension application.
1. Open the {% data variables.product.prodname_copilot %} for Xcode application.
1. At the top of the application window, click **Advanced**.
1. In the "Suggestion Settings" section, use the "Request suggestions while typing" toggle to enable or disable the extension.

## Automatically updating {% data variables.product.prodname_copilot %} for Xcode

You can configure the {% data variables.product.prodname_copilot %} extension to automatically check for updates.

1. Open the {% data variables.product.prodname_copilot %} extension application.
1. Open the {% data variables.product.prodname_copilot %} for Xcode application.
1. Select **Automatically check for updates**.

After updating the extension, Xcode must be restarted for the changes to take effect.
Original file line number Diff line number Diff line change
@@ -206,8 +206,8 @@ Two permissions are required to be able to use the extension: "Accessibility" an

The "Xcode Source Editor Extension" permission needs to be enabled manually.

1. Open the {% data variables.product.prodname_copilot %} extension application.
1. Click **Extension Permission** and click **Xcode Source Editor**.
1. Open the {% data variables.product.prodname_copilot %} for Xcode application.
1. Click **Extension Permission**.
1. Enable {% data variables.product.prodname_copilot %} and click **Done**.

After granting the required permissions, restart Xcode. You will see a new item in the "Editor" menu called "{% data variables.product.prodname_copilot %}".
@@ -218,7 +218,7 @@ Before you can use the {% data variables.product.prodname_copilot %} extension f

>[!NOTE] {% data reusables.copilot.sign-in-ghecom %} See [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/using-github-copilot-with-an-account-on-ghecom?tool=xcode#authenticating-from-xcode).

1. Open the {% data variables.product.prodname_copilot %} extension application.
1. Open the {% data variables.product.prodname_copilot %} for Xcode application.
1. Click **Login to {% data variables.product.github %}** and follow the prompts to authorize the extension.

{% endxcode %}
Original file line number Diff line number Diff line change
@@ -163,15 +163,15 @@ To check if GitHub Copilot is operational, run the following command in Vim/Neov

The log files for the {% data variables.product.prodname_copilot %} extension for Xcode are stored in `~/Library/Logs/GitHubCopilot/`. The most recent file is named `github-copilot-for-xcode.log`.

1. Open the {% data variables.product.prodname_copilot %} extension application.
1. Open the {% data variables.product.prodname_copilot %} for Xcode application.
1. At the top of the application window, click **Advanced**.
1. In the "Logging" section, click **Open Copilot Log Folder**.

## Enabling verbose logs

You can enable verbose logging to help troubleshoot issues with the {% data variables.product.prodname_copilot %} extension for Xcode.

1. Open the {% data variables.product.prodname_copilot %} extension application.
1. Open the {% data variables.product.prodname_copilot %} for Xcode application.
1. At the top of the application window, click **Advanced**.
1. In the "Logging" section, next to "Verbose Logging", toggle the switch to the right.

Original file line number Diff line number Diff line change
@@ -245,7 +245,7 @@ To use multi-model {% data variables.product.prodname_copilot_chat_short %}, you

{% data reusables.copilot.chat-model-limitations-ide %}

1. To open the chat view, click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}** in the menu bar, then click **Open Chat**.
1. To open the chat view, click **Editor** in the menu bar, then click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}** then **Open Chat**. {% data variables.product.prodname_copilot_chat_short %} opens in a new window.
1. In the bottom right of the chat view, select the **CURRENT-MODEL** {% octicon "triangle-down" aria-hidden="true" %} dropdown menu, then click the AI model of your choice.

{% endxcode %}
Original file line number Diff line number Diff line change
@@ -446,7 +446,7 @@ To use {% data variables.product.prodname_copilot %} for Xcode, you must install

You can ask {% data variables.product.prodname_copilot_chat_short %} to give you code suggestions, explain code, generate unit tests, and suggest code fixes.

1. To open the chat view, click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}** in the menu bar, then click **Open Chat**.
1. To open the chat view, click **Editor** in the menu bar, then click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}** then **Open Chat**. {% data variables.product.prodname_copilot_chat_short %} opens in a new window.

1. Enter a prompt in the prompt box. For example prompts, see [AUTOTITLE](/copilot/using-github-copilot/guides-on-using-github-copilot/getting-started-with-prompts-for-copilot-chat).

13 changes: 13 additions & 0 deletions data/reusables/copilot/vs-code-settings-json-ex.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
```json
{
"editor.inlineSuggest.enabled": true,
"github.copilot.enable": {
"*": true,
"yaml": false,
"plaintext": false,
"markdown": true,
"javascript": true,
"python": true
}
}
```
2 changes: 1 addition & 1 deletion src/audit-logs/lib/config.json
Original file line number Diff line number Diff line change
@@ -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": "5649c28c98e5a831c75008d7c1ced9e6e58306ea"
"sha": "4ed63621daa7b8fac72a13cb2e12921aa8d3037c"
}
Loading
Oops, something went wrong.