Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
| Create a fine-grained PAT at <https://github.com/settings/personal-access-tokens/new>. Select your user account (not an organization), choose "Public repositories" access, and enable "Copilot Requests" permissions. Then add it to your repository: | ||
|
|
||
| > [!NOTE] | ||
| > The "Repository access" dropdown setting (Public repositories, All repositories, or select repositories) is **not relevant** for Copilot authentication. The token only requires the **Copilot Requests** permission, which is independent of repository visibility. Even if your project is private, you can leave the visibility set to "Public repositories"—it does not affect how the token is used for Copilot requests. |
There was a problem hiding this comment.
The correct wording is:
"You should leave public repositories enabled; otherwise, you will not have access to the Copilot 'request permission' option."
There was a problem hiding this comment.
Updated in a1fb394. The note now reads: "You should leave 'Public repositories' enabled; otherwise, you will not have access to the Copilot Requests permission option."
| Create a fine-grained PAT at <https://github.com/settings/personal-access-tokens/new>. Select your user account (not an organization), choose "Public repositories" access, and enable "Copilot Requests" permissions. Then add it to your repository: | ||
|
|
||
| > [!NOTE] | ||
| > The "Repository access" dropdown setting (Public repositories, All repositories, or select repositories) is **not relevant** for Copilot authentication. The token only requires the **Copilot Requests** permission, which is independent of repository visibility. Even if your project is private, you can leave the visibility set to "Public repositories"—it does not affect how the token is used for Copilot requests. |
There was a problem hiding this comment.
@copilot The correct wording is:
"You should leave public repositories enabled; otherwise, you will not have access to the Copilot 'request permission' option."
There was a problem hiding this comment.
Updated in a1fb394. Both files now use the corrected wording.
…rmission access Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
The documentation for creating Copilot GitHub tokens did not clarify that the "Public repositories" setting in the "Repository access" dropdown must be enabled to access the Copilot Requests permission option. This caused confusion for users who didn't understand why they needed this setting.
Changes
docs/src/content/docs/reference/engines.md: Added NOTE callout after token creation instructions explaining that "Public repositories" must be enabled to access the Copilot Requests permission optiondocs/src/content/docs/reference/tokens.md: Added inline note in "For User-owned Repositories" section clarifying the same requirementThe clarification explains that without "Public repositories" enabled, users will not see the Copilot Requests permission option in GitHub's token creation UI.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.