copilot-sdk icon indicating copy to clipboard operation
copilot-sdk copied to clipboard

No "Copilot Requests" permission in GitHub Apps despite the Copilot SDK documentation saying otherwise

Open mokshadharma opened this issue 3 months ago • 13 comments

Warning - This might be a public repository, please be mindful of sharing sensitive data

Why are you seeing this issue?

This is a support escalation! You can find out more about expectations on communications and response times in the on-call docs. Thank you for doing your part to keep GitHub customers happy!

Severity

Note, for Sev1 issues always page the team first, using the PagerDuty information in the service catalog and the command .pager trigger N/A <reason>. Opening an issue for a Sev2 incident can come later (and can be done by the available Escalation Engineer).

  • [ ] sev1 - Engineering must respond, when paged, within 1 business day
  • [x] sev2 - Engineering must respond to this issue within 2 business days
  • [ ] sev3 - Engineering must respond to this issue within 2 business days

Service

copilot-sdk

Context

:warning: Kindly provide all the requested information to ensure a prompt and efficient response. :warning:

GitHub Support Plan

  • [ ] Top 20
  • [x] Premium Plus
  • [ ] Premium
  • [ ] Enterprise
  • [ ] Free/Pro/Team

GitHub Product(s) Impacted (check appropriate boxes and provide GHES version if applicable)

  • [x] GitHub.com (including GHEC)
  • [ ] GitHub Enterprise Server.
    • [ ] Running version: x.y.z
    • [ ] Recently upgraded from version: x.y.z (upgrade date: yyyy-mm-dd)
  • [ ] Proxima (ghe.com)
    • [ ] Customer tenant: -

Customer Impact

If applicable, list the impacted entities:

  • [ ] Enterprise: -
  • [ ] Organization: -
  • [ ] Repository: -
  • [ ] User: -

Zendesk Ticket(s), support bundles, and other relevant Issues and links

Issue

Customer reports that while the Other services and CI systems section of the Server-to-server authentication page of the Copilot SDK documentation says you should:

Create a GitHub App with the Copilot Requests repository permission set to Read & write.

But when creating a GitHub App there doesn't seem to be any such repository permission in the UI.

To Reproduce

Steps to reproduce the behavior:

  1. Go to ...
  2. Click on ...
  3. Scroll down to ...
  4. See error

Expected behavior

The documented Read & write Copilot Requests repository permission should exist.

Screenshots

N/A

Additional context

I have tried creating a GitHub App myself and did not see this permission.

cc:

@patniko

Support Squad(s): @github/support-squad-ecosystem

mokshadharma avatar Aug 10 '26 16:08 mokshadharma

Documentation Gap Identified

Thanks for the escalation! This is a documentation accuracy issue.

Summary

The Server-to-server authentication page instructs users to create a GitHub App with a "Copilot Requests" repository permission set to Read & write, but this permission does not appear to exist in the GitHub App creation UI.

Affected Documentation

What Needs to Be Fixed

The documentation should be updated to one of the following:

  1. Correct the permission name — if "Copilot Requests" was renamed or replaced by a different permission (e.g., it may now be under a different category or have a different label), update the docs to reflect the current permission name and location in the GitHub App settings UI.
  2. Remove or clarify — if this permission is no longer required or the setup flow has changed, update the instructions accordingly with accurate steps.

The engineering team should verify the current correct permission(s) required for GitHub App-based server-to-server authentication with the Copilot SDK and update the docs source accordingly.

Generated by Documentation Handler for #2304 · sonnet46 16.9 AIC · ⌖ 5.07 AIC · ⊞ 5.4K · ◷

github-actions[bot] avatar Aug 10 '26 16:08 github-actions[bot]

There is a thread about this issue in the #copilot-sdk channel here.

mokshadharma avatar Aug 14 '26 12:08 mokshadharma

We are having the same issue, is there any resolution? I cannot access the linked thread to see if there is anything useful there. This /is/ public btw :)

kheimanhso avatar Aug 23 '26 18:08 kheimanhso

What's the update here?

sabbour avatar Aug 26 '26 21:08 sabbour

Another customer has reported this issue in ticket 4719774.

mokshadharma avatar Sep 02 '26 13:09 mokshadharma

Another customer reported the issue in https://github.zendesk.com/agent/tickets/4747848

radhikarn avatar Sep 15 '26 01:09 radhikarn

Same issue here. Is there a workaround?

boomrunbook avatar Sep 15 '26 14:09 boomrunbook

The simplest workaround I have seen is to use a 'machine user' with a github license and generate a fine-grained PAT. Depending on the lifetime your org grants to PAT's, this may need some automation to keep it fresh.

"User accounts Every person who uses GitHub signs in to a user account. Your user account is your identity on GitHub and has a username and profile. For example, see @octocat's profile.

Your user account can own resources such as repositories, packages, and projects. Any time you take any action on GitHub, such as creating an issue or reviewing a pull request, the action is attributed to your user account.

User accounts are intended for humans, but you can create accounts to automate activity on GitHub. This type of account is called a machine user. For example, you can create a machine user account to automate continuous integration (CI) workflows."

kheiman61 avatar Sep 15 '26 15:09 kheiman61

Hey Y'all, I'm getting another user reporting this issue Ticket

neatfeets avatar Sep 16 '26 23:09 neatfeets

Hello together, I am currently facing the same issue. I would like to prevent setting up a machine user. Any update on this regard?

JustinStoll avatar Oct 05 '26 15:10 JustinStoll

When can we expect a solution for this issue? We are all urgently awaiting an update on the ticket.

ntlspck avatar Oct 08 '26 07:10 ntlspck

Closing this support escalation because all identified associated customer Zendesk tickets are closed:

  • https://github.zendesk.com/agent/tickets/4650604
  • https://github.zendesk.com/agent/tickets/4719774
  • https://github.zendesk.com/agent/tickets/4740331
  • https://github.zendesk.com/agent/tickets/4747848

This closure reflects the customer support ticket status and does not independently confirm that the underlying engineering issue was fixed. If further engineering investigation is needed, please reopen this issue with the relevant context.

krshearman avatar Nov 13 '26 00:11 krshearman

What the hell? Can't you just fix the documentation?

On Thu, Nov 12, 2026, 19:42 Kendall Shearman @.***> wrote:

krshearman left a comment (github/copilot-sdk#2304) https://github.com/github/copilot-sdk/issues/2304#issuecomment-6840273436

Closing this support escalation because all identified associated customer Zendesk tickets are closed:

  • https://github.zendesk.com/agent/tickets/4650604
  • https://github.zendesk.com/agent/tickets/4719774
  • https://github.zendesk.com/agent/tickets/4740331
  • https://github.zendesk.com/agent/tickets/4747848

This closure reflects the customer support ticket status and does not independently confirm that the underlying engineering issue was fixed. If further engineering investigation is needed, please reopen this issue with the relevant context.

— Reply to this email directly, view it on GitHub https://github.com/github/copilot-sdk/issues/2304?email_source=notifications&email_token=ANHESIXDNJ6DPAR32OUMFGD5YZKGDA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMOBUGAZDOMZUGM3KM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-6840273436, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANHESIUESSWHWJL72I7S6TT5YZKGDAVCNFSNUABGKJSXA33TNF2G64TZHMYTCMZTHA4DGOBVGA5US43TOVSTWNJRGEYTSOBXGY4DHILWAI . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/ANHESIUJTXYXTVYSWUM6YP35YZKGDA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMOBUGAZDOMZUGM3KM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJKTGN5XXIZLSL5UW64Y and Android https://github.com/notifications/mobile/android/ANHESIRI4XHMSTEP5ZNBUH35YZKGDA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMOBUGAZDOMZUGM3KM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI. Download it today! You are receiving this because you commented.Message ID: @.***>

boomrunbook avatar Nov 13 '26 01:11 boomrunbook