MCPcopy Create free account
hub / github.com/decaporg/decap-cms / getGitHubClient

Function getGitHubClient

cypress/plugins/github.js:34–40  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

32};
33
34function getGitHubClient(token) {
35 const client = new Octokit({
36 auth: `token ${token}`,
37 baseUrl: 'https://api.github.com',
38 });
39 return client;
40}
41
42function getEnvs() {
43 const {

Callers 6

prepareTestGitHubRepoFunction · 0.85
getAuthenticatedUserFunction · 0.85
deleteRepositoriesFunction · 0.85
resetOriginRepoFunction · 0.85
resetForkedRepoFunction · 0.85
seedGitHubRepoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected