Cannot create PAT _with_ scope write:packages _without_ repo scope

Per the documentation here:

Note: If you select the write:packages scope, deselect the repo scope when creating the PAT.

However, the UI does not appear to allow this; when write:packages is selected, I am unable to deselect the parent repo scope, or any child repo scope.

I am creating a PAT here: https://github.com/settings/tokens/new

2 Likes

Same issue creating my token

:wave: Thanks for reporting this bug. We have an issue to track and fix on our end.

In the meantime, you can create the PAT with the repo scope, and then edit it to remove the repo scope. I realize this isn’t ideal, but should be a workaround until the UI fix is done.