-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
At the moment, check-valid-credentials relies on being able to know what permissions a token has by querying the X-OAuth-scopes field from the response header, but the Fine-Grained PATs (as of now) do not deploy these (see this community discussion comment for updates)
One solution is to somehow detect if the token is a Fine-Grained PAT (e.g. by detecting if the text starts with github_) and then allowing them to pass through without checking permissions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels