mszostok/codeowners-validator

Try to move from API Rest calls to GraphQL call.

Closed this issue · 0 comments

Description

Currently, we are using the API Rest calls to check if defined owners are the valid ones. This generated the problem with a lot of requests. GitHub expose also the GraphQL to call their apis. We need to investigate if they expose their functionality. If yes, that we can switch to graphql call to significantly reduce the number of calls.

Console to test GraphQL: https://developer.github.com/v4/explorer/

Acceptance Criteria

  • reduce the number of GitHub API calls