async pipeline
parent
483b94b942
commit
9ed1ef45f8
|
|
@ -6336,7 +6336,7 @@ const core_1 = __nccwpck_require__(76762);
|
||||||
class GitHub {
|
class GitHub {
|
||||||
static createGitHubCheck(summary) {
|
static createGitHubCheck(summary) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
if (!cloud_runner_options_1.default.githubChecks || cloud_runner_options_1.default.asyncCloudRunner) {
|
if (!cloud_runner_options_1.default.githubChecks) {
|
||||||
return ``;
|
return ``;
|
||||||
}
|
}
|
||||||
const sha = cloud_runner_1.default.buildParameters.gitSha;
|
const sha = cloud_runner_1.default.buildParameters.gitSha;
|
||||||
|
|
@ -6380,7 +6380,7 @@ class GitHub {
|
||||||
}
|
}
|
||||||
static updateGitHubCheck(longDescription, summary, result = `neutral`, status = `in_progress`) {
|
static updateGitHubCheck(longDescription, summary, result = `neutral`, status = `in_progress`) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
if (!cloud_runner_options_1.default.githubChecks || cloud_runner_options_1.default.asyncCloudRunner) {
|
if (!cloud_runner_options_1.default.githubChecks) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
GitHub.longDescriptionContent += `\n${longDescription}`;
|
GitHub.longDescriptionContent += `\n${longDescription}`;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -9,7 +9,7 @@ class GitHub {
|
||||||
private static endedDate: string;
|
private static endedDate: string;
|
||||||
|
|
||||||
public static async createGitHubCheck(summary) {
|
public static async createGitHubCheck(summary) {
|
||||||
if (!CloudRunnerOptions.githubChecks || CloudRunnerOptions.asyncCloudRunner) {
|
if (!CloudRunnerOptions.githubChecks) {
|
||||||
return ``;
|
return ``;
|
||||||
}
|
}
|
||||||
const sha = CloudRunner.buildParameters.gitSha;
|
const sha = CloudRunner.buildParameters.gitSha;
|
||||||
|
|
@ -56,7 +56,7 @@ class GitHub {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static async updateGitHubCheck(longDescription, summary, result = `neutral`, status = `in_progress`) {
|
public static async updateGitHubCheck(longDescription, summary, result = `neutral`, status = `in_progress`) {
|
||||||
if (!CloudRunnerOptions.githubChecks || CloudRunnerOptions.asyncCloudRunner) {
|
if (!CloudRunnerOptions.githubChecks) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
GitHub.longDescriptionContent += `\n${longDescription}`;
|
GitHub.longDescriptionContent += `\n${longDescription}`;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue