repos
code-scanning
Lists the CodeQL databases that are available in a repository.
For private repositories, you must use an access token with the security_events scope.
For public repositories, you can use tokens with the security_events or public_repo scope.
GitHub Apps must have the contents read permission to use this endpoint.
List CodeQL databases for a repository