-
Notifications
You must be signed in to change notification settings - Fork 6
Check token and organisation access #37
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
If the GH token is expired the error is not clear: "missing response data".
Unfortunately, GH does not return any specific error if the token is expired or invalid. However, I could at least add some other text:
"Missing response data. Check your Github token".
Also, if the token is valid but not authorised by an organisation, GH does not return any result. No error is reported.
I may introduce a step to access some organisation details (org name from --org or --repo) to verify there is a proper authorisation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request