Skip to content

Daily File Diet Cannot Assign To Copilot #21403

Closed as not planned
Closed as not planned

Description

@veverkap

I got a weird error in the safe_outputs part of the diet. It created the issue correctly but got an error assigning it to Copilot.

Error: Failed to assign copilot to issue #278 in amalgamated-tools/biblioteka: ERR_PERMISSION: copilot coding agent is not available for this repository
Error: ERR_API: Failed to assign copilot to 1 issue(s)
Image

But as you can see, I don't have it disabled
Image

And in fact, I can assign it myself to Copilot:

Image

Activity

  1. pelikhan commented on Mar 17, 2026

    @pelikhan
    Collaborator

    Did you set the GH_AW_AGENT_TOKEN? The github action token won't work and this typically means your token is not porperly configured.

  2. locked and limited conversation to collaborators on Mar 17, 2026
  3. unlocked this conversation on Mar 17, 2026
  4. veverkap commented on Mar 17, 2026

    @veverkap
    Author

    @pelikhan thanks - I couldn't find any documentation on what permissions the GH_AW_AGENT_TOKEN needs

  5. locked and limited conversation to collaborators on Mar 17, 2026
  6. unlocked this conversation on Mar 17, 2026
  7. veverkap commented on Mar 17, 2026

    @veverkap
    Author

    I have added the GH_AW_AGENT_TOKEN with these permissions:

    Image

    Different error this time

    Image
  8. locked and limited conversation to collaborators on Mar 17, 2026
  9. unlocked this conversation on Mar 17, 2026
  10. veverkap commented on Mar 17, 2026

    @veverkap
    Author
    Image

    It also happened on another workflow. Let me know if I can do anything to help debug.

  11. locked and limited conversation to collaborators on Mar 17, 2026
  12. unlocked this conversation on Mar 17, 2026
  13. furoTmark commented on Mar 18, 2026

    @furoTmark

    Just want to add that I am experiencing the same issue, ERR_PERMISSION: copilot coding agent is not available for this repository. The account that is set has access to Github Copilot Enterprise (don't know if this helps), and direct assignment or using Copilot in other ways works; the issue only appears from workflows.

  14. locked and limited conversation to collaborators on Mar 18, 2026
  15. unlocked this conversation on Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions