in src/main/java/com/spotify/github/v3/clients/RepositoryClient.java [146:151]
public ChecksClient createChecksApiClient() {
if (!github.getPrivateKey().isPresent()) {
throw new IllegalArgumentException("Checks Client needs a private key");
}
return new ChecksClient(github, owner, repo);
}