fix
parent
d493977153
commit
345084ebae
|
@ -6224,7 +6224,7 @@ class GitHub {
|
||||||
return ``;
|
return ``;
|
||||||
}
|
}
|
||||||
GitHub.startedDate = new Date().toISOString();
|
GitHub.startedDate = new Date().toISOString();
|
||||||
cloud_runner_logger_1.default.log(`Creating inital github check`);
|
cloud_runner_logger_1.default.log(`Creating github check`);
|
||||||
const data = {
|
const data = {
|
||||||
owner: GitHub.owner,
|
owner: GitHub.owner,
|
||||||
repo: GitHub.repo,
|
repo: GitHub.repo,
|
||||||
|
@ -6250,6 +6250,7 @@ class GitHub {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const result = await GitHub.createGitHubCheckRequest(data);
|
const result = await GitHub.createGitHubCheckRequest(data);
|
||||||
|
cloud_runner_logger_1.default.log(`Creating github check ${result.status}`);
|
||||||
return result.data.id.toString();
|
return result.data.id.toString();
|
||||||
}
|
}
|
||||||
static async updateGitHubCheck(longDescription, summary, result = `neutral`, status = `in_progress`) {
|
static async updateGitHubCheck(longDescription, summary, result = `neutral`, status = `in_progress`) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -52,7 +52,7 @@ class GitHub {
|
||||||
}
|
}
|
||||||
GitHub.startedDate = new Date().toISOString();
|
GitHub.startedDate = new Date().toISOString();
|
||||||
|
|
||||||
CloudRunnerLogger.log(`Creating inital github check`);
|
CloudRunnerLogger.log(`Creating github check`);
|
||||||
const data = {
|
const data = {
|
||||||
owner: GitHub.owner,
|
owner: GitHub.owner,
|
||||||
repo: GitHub.repo,
|
repo: GitHub.repo,
|
||||||
|
@ -79,6 +79,8 @@ class GitHub {
|
||||||
};
|
};
|
||||||
const result = await GitHub.createGitHubCheckRequest(data);
|
const result = await GitHub.createGitHubCheckRequest(data);
|
||||||
|
|
||||||
|
CloudRunnerLogger.log(`Creating github check ${result.status}`);
|
||||||
|
|
||||||
return result.data.id.toString();
|
return result.data.id.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue