Skip to content

Check if the users has access to repos? #84

@leet4tari

Description

@leet4tari

On start up, might be worth checking the bot-user repo list - https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-repositories-for-the-authenticated-user.

Might also double as auth check and warning could be logged.

Would be useful as start of troubleshooting.

curl -H 'Authorization: Bearer token' https://api.github.com/user/repos

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