Skip to content

Clarify that "Public repositories" setting is required to access Copilot Requests permission#12565

Merged
pelikhan merged 3 commits intomainfrom
copilot/update-copilot-token-docs
Jan 29, 2026
Merged

Clarify that "Public repositories" setting is required to access Copilot Requests permission#12565
pelikhan merged 3 commits intomainfrom
copilot/update-copilot-token-docs

Conversation

Copy link
Contributor

Copilot AI commented Jan 29, 2026

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 option
  • docs/src/content/docs/reference/tokens.md: Added inline note in "For User-owned Repositories" section clarifying the same requirement

The clarification explains that without "Public repositories" enabled, users will not see the Copilot Requests permission option in GitHub's token creation UI.

[!WARNING]

Custom agent used: technical-doc-writer
AI technical documentation writer for GitHub Actions library using GitHub Docs voice

Original prompt

Update:

In the documentation where we explain how to create a Copilot GitHub token, clarify that the repository visibility setting in the dropdown is not relevant for this token. We only require the Copilot request permission, which is independent of repository visibility.

Even if the project is private, users can leave the visibility set to public in the dropdown; it does not affect how the token is used for Copilot requests.

Custom agent used: technical-doc-writer
AI technical documentation writer for GitHub Actions library using GitHub Docs voice


💡 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.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Clarify repository visibility for Copilot GitHub token Clarify repository visibility setting is irrelevant for Copilot token authentication Jan 29, 2026
Copilot AI requested a review from pelikhan January 29, 2026 15:24
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The correct wording is:

"You should leave public repositories enabled; otherwise, you will not have access to the Copilot 'request permission' option."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot The correct wording is:

"You should leave public repositories enabled; otherwise, you will not have access to the Copilot 'request permission' option."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in a1fb394. Both files now use the corrected wording.

…rmission access

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 29, 2026

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:

  • telemetry.astro.build
    • Triggering command: /opt/hostedtoolcache/node/24.13.0/x64/bin/node node /home/REDACTED/work/gh-aw/gh-aw/docs/node_modules/.bin/astro build (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title Clarify repository visibility setting is irrelevant for Copilot token authentication Clarify that "Public repositories" setting is required to access Copilot Requests permission Jan 29, 2026
Copilot AI requested a review from pelikhan January 29, 2026 15:33
@pelikhan pelikhan marked this pull request as ready for review January 29, 2026 15:46
@pelikhan pelikhan merged commit c1a21ce into main Jan 29, 2026
67 checks passed
@pelikhan pelikhan deleted the copilot/update-copilot-token-docs branch January 29, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants