Skip to content

Conversation

@koesie10
Copy link
Member

This switches the request to the GitHub API for listing CodeQL databases from a custom request to the Octokit REST API. This allows us to be more type-safe without introducing our own types.

The update to @octokit/openapi-types was necessary to have access to the commit_oid field.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

This switches the request to the GitHub API for listing CodeQL databases
from a custom request to the Octokit REST API. This allows us to be more
type-safe without introducing our own types.

The update to `@octokit/openapi-types` was necessary to have access to
the `commit_oid` field.
@koesie10 koesie10 requested review from a team as code owners November 15, 2023 16:13
Copy link
Contributor

@charisk charisk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@koesie10 koesie10 merged commit ec7640f into main Nov 16, 2023
@koesie10 koesie10 deleted the koesie10/octokit-rest-codeql-databases branch November 16, 2023 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants